javascript multiline comments cause re parser to throw
karolk opened this issue · comments
Karol K commented
File "/usr/local/lib/python2.6/dist-packages/Pycco-0.2.0-py2.6.egg/pycco/main.py", line 92, in parse
line = re.sub(language["multiend"],'',line)
File "/usr/lib/python2.6/re.py", line 151, in sub
return _compile(pattern, 0).sub(repl, string, count)
File "/usr/lib/python2.6/re.py", line 245, in _compile
raise error, v # invalid expression
They should probably be slash escaped but this breaks actual matching.
Erik Abele commented
This is fixed already, see here:
Trey Hunner commented