diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-11-25 14:25:11 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-11-26 22:06:27 -0500 |
commit | 527595f79bf97bc2d17cb821c8bb6b4e8b6776f9 (patch) | |
tree | 848035c9eb864e872999ca22d8ac5e15e8c3a9fa /ext/mixed | |
parent | 1daed122909532f5ec5c4b470ddf7f791944cf73 (diff) |
Remove unnecessary escapes from regex literals
Diffstat (limited to 'ext/mixed')
-rw-r--r-- | ext/mixed/js/audio.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/audio.js b/ext/mixed/js/audio.js index 7d5ffedd..35f283a4 100644 --- a/ext/mixed/js/audio.js +++ b/ext/mixed/js/audio.js @@ -68,7 +68,7 @@ class TextToSpeechAudio { } static createFromUri(ttsUri) { - const m = /^tts:[^#\?]*\?([^#]*)/.exec(ttsUri); + const m = /^tts:[^#?]*\?([^#]*)/.exec(ttsUri); if (m === null) { return null; } const searchParameters = {}; |