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
Repeat operator (*, & and +) characters are allowed in the beginning of the regular expression. According to the documentation they should be followed by an atom. Also, all the other regex engines I tested report this as error in the regular expression.
Example: "*_abc" is considered by regcomp a valid regular expression, and matches "_abc".
I believe regcomp should report compile error, just like for other improper expressions, like "(_abc".
The text was updated successfully, but these errors were encountered:
Repeat operator (*, & and +) characters are allowed in the beginning of the regular expression. According to the documentation they should be followed by an atom. Also, all the other regex engines I tested report this as error in the regular expression.
Example: "*_abc" is considered by regcomp a valid regular expression, and matches "_abc".
I believe regcomp should report compile error, just like for other improper expressions, like "(_abc".
The text was updated successfully, but these errors were encountered: