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

java - Could not locate OpenAL library -

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

sorting - opencl Bitonic sort with 64 bits keys -