remram44 / regex-cheatsheet

Cheatsheet for different regex syntaxes
https://remram44.github.io/regex-cheatsheet/regex.html
278 stars 64 forks source link

missing data - "\ special in class?", "Ranges" #19

Open sisima70 opened 5 years ago

sisima70 commented 5 years ago

"\ special in class?", and "Ranges" are empty for "POSIX extended (ERE)". I assume that they're the same as for "POSIX (BRE)", but this should be explicitly specified.

In addition "Ranges" for "ViM" seem to imply that '\' is special in character classes, but I'm not sure if that's intended. If it is, "'\' is special in character classes" should be said explicitly in the appropriate cell of the table.

remram44 commented 5 years ago

Thanks, I completed the line. \ is special for ViM but not ERE (like BRE), you are right.

I am not sure what you mean about "?