-
Notifications
You must be signed in to change notification settings - Fork 970
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
Not matching "-" and "_" at the beginning of the line #44
Comments
You have the multiline flag enabled in v1 but not v2. Without the multiline flag ^ matches the start of the string, not the start of a line. |
I added it then to v2 (see updated screenshot), maybe wasn't set? Thanks! |
Your expression matches underscores, but your Text doesn't contain any (it has dashes). :) |
The multiline got me, was using this before ^(--|__) :) Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"^-" or "^_" don't match anything on the editor but they are indeed valid regex.
The text was updated successfully, but these errors were encountered: