[mgol] better latex detection regex. fixes #3598
This commit is contained in:
parent
46aac301c8
commit
002556db7e
1 changed files with 1 additions and 1 deletions
|
@ -2319,7 +2319,7 @@ class Interface:
|
||||||
r'(?<!\w|\<)' r'/[^\s/]' r'([^/]*[^\s/])?' r'/(?!\w)|'\
|
r'(?<!\w|\<)' r'/[^\s/]' r'([^/]*[^\s/])?' r'/(?!\w)|'\
|
||||||
r'(?<!\w)' r'_[^\s_]' r'([^_]*[^\s_])?' r'_(?!\w)'
|
r'(?<!\w)' r'_[^\s_]' r'([^_]*[^\s_])?' r'_(?!\w)'
|
||||||
|
|
||||||
latex = r'|\$\$.*\$\$'
|
latex = r'|\$\$[^$\\]*?([\]\[0-9A-Za-z()|+*/-]|[\\][\]\[0-9A-Za-z()|{}$])(.*?[^\\])?\$\$'
|
||||||
|
|
||||||
basic_pattern = links + mail
|
basic_pattern = links + mail
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue