diff --git a/resources/rapydscript/compiler.js.xz b/resources/rapydscript/compiler.js.xz index 4c6f82850a..fbb64f17c3 100644 Binary files a/resources/rapydscript/compiler.js.xz and b/resources/rapydscript/compiler.js.xz differ diff --git a/resources/rapydscript/lib/re.pyj b/resources/rapydscript/lib/re.pyj index 181ce06101..1ad1142e72 100644 --- a/resources/rapydscript/lib/re.pyj +++ b/resources/rapydscript/lib/re.pyj @@ -125,9 +125,12 @@ def _expand(groups, repl, group_name_map): return '\\' + q ans = ch = '' - while (ch = next()): + while True: + ch = next() if ch is '\\': ans += read_escape_sequence() + elif not ch: + break else: ans += ch return ans