Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e06cbb8 commit b5fc0abCopy full SHA for b5fc0ab
1 file changed
Doc/tools/sgmlconv/latex2esis.py
@@ -56,7 +56,7 @@ def __init__(self, found, stack):
56
_begin_macro_rx = re.compile(r"[\\]([a-zA-Z]+[*]?) ?({|\s*\n?)")
57
_comment_rx = re.compile("%+ ?(.*)\n[ \t]*")
58
_text_rx = re.compile(r"[^]~%\\{}]+")
59
-_optional_rx = re.compile(r"\s*[[]([^]]*)[]]")
+_optional_rx = re.compile(r"\s*[[]([^]]*)[]]", re.MULTILINE)
60
# _parameter_rx is this complicated to allow {...} inside a parameter;
61
# this is useful to match tabular layout specifications like {c|p{24pt}}
62
_parameter_rx = re.compile("[ \n]*{(([^{}}]|{[^}]*})*)}")
0 commit comments