https://bugzilla.wikimedia.org/show_bug.cgi?id=18147





--- Comment #4 from Andrew Garrett <[email protected]>  2009-03-25 07:54:09 
UTC ---
(In reply to comment #3)
> Calling preg_match with an offset only matches the beginning of the string 
> flag
> if the offset is actually set to 0.  This is annoying behavior, but I think 
> the
> only way to force a beginning of string match from preg_match is actually to
> send it a truncated string.

I know that, but as I said in my previous comment, you can use the /A modifier
to do what you want.

http://au2.php.net/manual/en/reference.pcre.pattern.modifiers.php


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to