\w_ replaced with \w, thanks Osman
This commit is contained in:
1 parent
91c88d56eb
commit
f25e92d443
6 files changed
+8
-8
No files matched your search
@@ -139,7 +139,7 @@ def render(text,
|
||||
text = regex_noindent.sub('\n\\\\noindent \g<t>',text)
|
||||
|
||||
### fix paths in images
|
||||
regex=re.compile('\\\\_[\w_]*\.(eps|png|jpg|gif)')
|
||||
regex=re.compile('\\\\_\w*\.(eps|png|jpg|gif)')
|
||||
while True:
|
||||
match=regex.search(text)
|
||||
if not match: break
|
||||
|
||||
Reference in new issue
Block a user