Files
coffeescript/test
Simon Lydell 72ceec5680 Fix #3795: Never generate invalid strings and regexes
- Invalid `\x` and `\u` escapes now throw errors.
- U+2028 and U+2029 (which JavaScript treats as newline characters) are now
  escaped to `\u2028` and `\u2029`, respectively.
- Octal escapes are now forbidden not only in strings, but in regexes as well.
- `\0` escapes are now escaped if needed (so that they do not form an octal
  literal by mistake). Note that `\01` is an octal escape in a regex, while `\1`
  is a backreference. (Added a test for backreferences while at it.)
- Fixed a bug where newlines in strings weren't removed if preceded by an
  escaped character.
2015-02-05 17:23:03 +01:00
..
2015-01-15 19:44:14 +01:00
2011-04-23 13:35:15 -04:00
2015-01-05 15:40:04 -05:00
2014-08-26 20:41:32 -05:00
2011-06-02 01:49:28 -04:00
2014-08-26 20:41:32 -05:00
2013-03-21 09:04:23 +08:00