\w_ replaced with \w, thanks Osman
This commit is contained in:
1 parent
add8e6b173
commit
e51c78763e
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