Thanks.
PCRE - I need an explanation...
Moderator: General Moderators
- evilmonkey
- Forum Regular
- Posts: 823
- Joined: Sun Oct 06, 2002 1:24 pm
- Location: Toronto, Canada
PCRE - I need an explanation...
Hello. I don't really get the PCRE pattern syntax, even after reading this page (http://ca2.php.net/manual/en/pcre.pattern.syntax.php). Can someone please explain what the syntax does? Too many characters, and it just doesn't make sense.
Thanks.
Thanks.
It's entirely normal to find regex confusing - it was invented by evil madmen for this very purpose. Regex possibly gets the world record as the language with the most meaning condensed into the smallest space.
This handy tool is very useful for trying out expressions: http://www.weitz.de/regex-coach/#install.
This handy tool is very useful for trying out expressions: http://www.weitz.de/regex-coach/#install.
- evilmonkey
- Forum Regular
- Posts: 823
- Joined: Sun Oct 06, 2002 1:24 pm
- Location: Toronto, Canada