Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix regex warnings from LGTM.com #66615
This fixes some regex warning found up on LGTM.com here.
These are mostly due to confusion about regex syntax where separating character classes with a pipe is not needed.
I think this is the correct fix in each case but I am not entirely sure as it's not always obvious whether a pipe was intended to be a member of the class or not.
In particular I am not sure about the emmet extensions.
(Disclaimer: I work for semmle, the company behind LGTM.com)