regex - Atom package grammar regular expression flag for case insensitivity -
i following a tuturial on creating package grammar syntax highlighting in atom. language case-insensitive, e.g. define
equivalent define
.
atom seems running javascript regular expressions, seems flags not supported in cson grammar configuration file
'match': '(define)'
it seems there no documentation grammars.
how can case-insensitive matching achieved?
use special group: https://github.com/kkos/oniguruma/blob/master/doc/re#l197
'match': '(?i)(define ...
Comments
Post a Comment