-
-
Notifications
You must be signed in to change notification settings - Fork 469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
preg_match_all and flags #144
Comments
@racklin could you take a look please? |
Signed-off-by: Rack Lin <racklin@gmail.com>
@tamaranga Hi, I can't reproduce this issue. The PREG_PATTERN_ORDER must be 1, and PREG_SET_ORDER must be 2 in commit: racklin@138aa52 |
@racklin, hi
As we can see flags are correct: (PREG_PATTERN_ORDER = 1, PREG_SET_ORDER = 2) But testMatchAllInZep returns:
So results are the same, but must be different. |
@tamaranga hmm.... strangely.
Could you tell me which pcre and php version you are using??? |
@racklin Interesting that in "php" preg_match_all returns correct results. |
It wasn't working well, so I disabled temporarily, need some more time to track the problem down. |
- Added some additional tests of a pending issue ( zephir-lang#144 )
- Added some additional tests of a pending issue ( zephir-lang#144 )
- Added some additional tests of a pending issue ( zephir-lang#144 )
Results of calling are currently the same, but must be different:
In case of "PREG_PATTERN_ORDER" must be:
And in case of "PREG_SET_ORDER" must be:
The text was updated successfully, but these errors were encountered: