python to javascript regex -


can me fix regex use in javascript?

(?<!\\\\)#\\{{1,2} 

regex tester said:

syntaxerror: invalid regular expression: /(?:((?<!\\)#\{{1,2})|(.))/: invalid group 

thanks.

maybe /(?:((?!\\)#\{{1,2})|(.))/. in python negative lookback (?<!...) in javascript (?!...) remove <


Comments

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

java - Could not locate OpenAL library -

Non Unique Username with ASP.Net Identity 2.0 -