Skip to content

Some regex query returned invalid even if it's not #9185

Discussion options

You must be logged in to vote

It's a valid regex in JS, but each regex engine is a bit different. Even if you switch the engine on RegExr, it will give you an error (it seems you can't have an empty negated character set).

Though it would be nice if GitHub would produce a better error.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by r0ny123
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Search and Navigation Search, navigate, and understand code on GitHub Product Feedback
2 participants