Thanks for replying! In danger of beeing stupid: What does the e and x stands for?

Mwnciau

06-23-2006, 06:27 PM

well i and e stand for across lines and case insensitive but dont know about the other one (not my regex)

fci

06-23-2006, 07:58 PM

refer to
http://us2.php.net/manual/en/reference.pcre.pattern.modifiers.php
i = case insensitive
e = this will do an eval if you embed php code in it
x = whitespace characters are ignored in the regex pattern

the pattern really only needs the i though.

jskaar

06-24-2006, 02:31 PM

Thank you! I'm starting to figure out this regex thing now... Baby steps, of course, but very useful to learn!