diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-11-29 01:34:07 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-11-29 01:34:07 +0100 |
commit | 05aa64b9bbd0081506eeb198f77e9ff4b8096394 (patch) | |
tree | 1e6215cbc57a232fdb8174800239a579e5df1862 /.travis.yml | |
parent | 2036a423760a0c9f1efc944d0d200df8dc1ebdab (diff) |
JS: Fix Opal build to not mess with backslashes
The problem is that the replacement in `String#sub(pattern, replacement)`
is interpreted by Ruby:
If replacement is a String that looks like a pattern's capture group
but is actually not a pattern capture group e.g. "\'", then it will
have to be preceded by two backslashes like so "\\'".
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions