mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update RapydScript
This commit is contained in:
parent
41f45b0dc8
commit
61ab18b81a
Binary file not shown.
@ -125,9 +125,12 @@ def _expand(groups, repl, group_name_map):
|
|||||||
return '\\' + q
|
return '\\' + q
|
||||||
|
|
||||||
ans = ch = ''
|
ans = ch = ''
|
||||||
while (ch = next()):
|
while True:
|
||||||
|
ch = next()
|
||||||
if ch is '\\':
|
if ch is '\\':
|
||||||
ans += read_escape_sequence()
|
ans += read_escape_sequence()
|
||||||
|
elif not ch:
|
||||||
|
break
|
||||||
else:
|
else:
|
||||||
ans += ch
|
ans += ch
|
||||||
return ans
|
return ans
|
||||||
|
Loading…
x
Reference in New Issue
Block a user