mmims / language-batchfile

Windows batch file language support for Atom.
MIT License
34 stars 8 forks source link

Avoid using the ambiguous \h shorthand character #16

Closed pchaigno closed 7 years ago

pchaigno commented 7 years ago

Depending on the regular expression engine used, \h does not always mean the same. With a PCRE engine, it matches white spaces, whereas, with a Oniguruma engine, it matches hexademical digit characters. Atom uses an Oniguruma engine, but github.com relies on a PCRE engine.

pchaigno commented 7 years ago

Thanks! There's also the {,n} construct that's not recognized by the PCRE engine.