[PHP] PCRE vs. POSIX-extended for regular expressions

2004-01-28 Thread SLanger
Hello The reaseon why PCRE is faster is because the POSIX standard demands to return the longest matching string which means POSIX checks all possible matches while PCRE simply returns the first valid match. In cases where there is no match both have to check all matches. The other thing is,

Re: [PHP] PCRE vs. POSIX-extended for regular expressions

2004-01-27 Thread Adam i Agnieszka Gasiorowski FNORD
Pablo Gosse wrote: Hi all. Quick quesiton about PCRE vs. POSIX-extended regular expressions. How much of a difference is there between these two types of regular expressions. I know I've read that PCRE is faster, but is it that much of a difference? PCRE are _way_ more advanced,

[PHP] PCRE vs. POSIX-extended for regular expressions

2004-01-26 Thread Pablo Gosse
Hi all. Quick quesiton about PCRE vs. POSIX-extended regular expressions. How much of a difference is there between these two types of regular expressions. I know I've read that PCRE is faster, but is it that much of a difference? A while ago I had to write a bunch of regular expression