diff options
author | Louis Pilfold <louis@lpil.uk> | 2024-01-16 21:56:22 +0000 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2024-01-16 21:56:22 +0000 |
commit | 3f3a567de817cdc4b76a6ab7f595d018dbe3cfd0 (patch) | |
tree | 3d6ba56c53ba8a5c52c7bc5e9ac9912d548f1e16 /static | |
parent | 29da9b51c0d918b86108bdbf0f4c6e914b240283 (diff) | |
download | tour-3f3a567de817cdc4b76a6ab7f595d018dbe3cfd0.tar.gz tour-3f3a567de817cdc4b76a6ab7f595d018dbe3cfd0.zip |
Multiline strings
Closes https://github.com/gleam-lang/try-gleam/issues/3
Diffstat (limited to 'static')
-rw-r--r-- | static/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/index.js b/static/index.js index b6f2754..b2e1b45 100644 --- a/static/index.js +++ b/static/index.js @@ -23,7 +23,7 @@ const prismGrammar = { greedy: true, }, string: { - pattern: /"(?:\\(?:\r\n|[\s\S])|(?!")[^\\\r\n])*"/, + pattern: /"((?:[^"\\]|\\.)*)"/, greedy: true, }, module: { |