New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heregex bug (fixed in Coffee and Coco long ago) #844

Closed
summivox opened this Issue Feb 7, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@summivox
Contributor

summivox commented Feb 7, 2016

In Coffee:

///
a\ b\
///

compiles to:

/a b\n/;

But in LiveScript:

  1. escaped EOL won't compile
  2. space is not properly escaped

I'm looking into backporting satyr/coco@45d3ea3

See:
jashkenas/coffeescript#3059 (turned out I raised this too)
jashkenas/coffeescript#3214

summivox added a commit to summivox/LiveScript that referenced this issue Feb 7, 2016

@summivox summivox referenced this issue Feb 7, 2016

Merged

Heregex escape #845

@gkz gkz closed this in #845 Feb 8, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment