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
Expected Behavior:
As the regex could match the full ab and the test type is all, the test should be successful (as if the entered regex would be ^(?:a|ab)$)
Observed Behavior:
The test fails, as Text.js:326 only checks, if the found match has the right length.
Related Issues:
This bug seems to be related to the optimization mentioned in #513
The text was updated successfully, but these errors were encountered:
Description:
"MATCH FULL" does not work properly, if the tested regex contains a top level
|
and an other case is partially matched.Minimal Example:
a|ab
with the test caseab
(https://regexr.com/8alo5)Expected Behavior:
As the regex could match the full
ab
and the test type isall
, the test should be successful (as if the entered regex would be^(?:a|ab)$
)Observed Behavior:
The test fails, as Text.js:326 only checks, if the found match has the right length.
Related Issues:
This bug seems to be related to the optimization mentioned in #513
The text was updated successfully, but these errors were encountered: