You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
that version also use libpcre2, php <=7.2 should use libpcre, but I don't have it available to test,
but you can try it on regex101.com and switch the flavours.
https://regex101.com/r/8Sfund/1
it has pcre2 preselected, that doesn't match and pcre matches, including all other flavours available there.
I'm no regex expert, let alone know about subtle differences between flavours, but for me it doesn't make sense, that the order of characters in [] matters, so I think it is a bug.
If not, please enlighten me, why this is, as it should be.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
rg is https://github.com/BurntSushi/ripgrep
ripgrep is using libpcre2, grep is using libpcre
same is visible in php7.4 and php8.1:
that version also use libpcre2, php <=7.2 should use libpcre, but I don't have it available to test,
but you can try it on regex101.com and switch the flavours.
https://regex101.com/r/8Sfund/1
it has pcre2 preselected, that doesn't match and pcre matches, including all other flavours available there.
I'm no regex expert, let alone know about subtle differences between flavours, but for me it doesn't make sense, that the order of characters in [] matters, so I think it is a bug.
If not, please enlighten me, why this is, as it should be.
The text was updated successfully, but these errors were encountered: