[PHP] Re: Re: preg_match() returns false but no documentation why

2007-05-30 Thread Jared Farrish
If the pattern delimiter character appears in the pattern it must be escaped so that the regexp processor will correctly interpret it as a pattern character and not as the end of the pattern. This would produce a regexp error: /ldap://*/ but this is OK: /ldap:\/\/*/

Re: [PHP] Re: Re: preg_match() returns false but no documentation why

2007-05-30 Thread Paul Novitski
At 5/30/2007 05:08 PM, Jared Farrish wrote: So what does the definition I posted mean for non-bracketed periods? Does it mean it will match anything but a line or return break character? How in practice is this useful? Read the manual: Pattern Syntax