This repository has been archived by the owner on Oct 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 92
Bug in PerlRegExpConverter #38
Comments
not tested well yet...
|
Sorry my mistake I didn't notice that Github changed the first regular expression, the correct one is : And is converted to: And after I'm right? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a problem with following regular expression:
\G(((int(eger)?|bool(ean)?|float|double|real|string|binary|array|object))\s*)
This regular expression gives me different result in phalagner, I assume that the problem is in converting pattern to .net. Pattern is converted to:
\G(?<an0ny_1>((int(?<an0ny_2>eger)?|bool(?<an0ny_3>ean)?|float|double|real|string|binary|array|object))\s*)
I think that after :
\G(?<an0ny_1>(
group name is missing.
The same problem occurs in this regular expression:
/((x)y)/
when I match it against 'xy' I get wrong results:
preg_match('/((x)y)/', 'xy', $matches, null);
$matches[1] == 'x' should be 'xy'
$matches[2] == 'xy' should be 'x'
The text was updated successfully, but these errors were encountered: