Skip to content

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

@summivox

Description

@summivox

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions