I’ve parsed the javascript syntax file in order to get all regexes but these two gave me errors
keyword.operator.js
/!|\$|%|&|\*|\-\-|\-|\+\+|\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\|\||\?\:|\*=|(?<!\()/=|%=|\+=|\-=|&=|\^=|\b(in|instanceof|new|delete|typeof|void)\b/gm
the wrong bits are: (?<!()/ and I changed it to (?<!()/
support.constant.js
/(?<=\.) ................... \b/gm
the error is in the first group: (?<=.) changed to (.)
I can’t understand whats the meaning of these two groups, maybe they are not in js regex syntax.