parent
a57c6982b7
commit
a1199a2b43
|
@ -12,8 +12,8 @@ class RSTGrammar(Grammar):
|
||||||
rules = [
|
rules = [
|
||||||
PatternRule(r'escape', r'\\.'),
|
PatternRule(r'escape', r'\\.'),
|
||||||
|
|
||||||
PatternRule(r'bullet', r'^ *[-*+]'),
|
PatternRule(r'bullet', r'^ *[-*+](?=$| )'),
|
||||||
PatternRule(r'enumeration', r'^ *(?:[0-9]+|#)\.'),
|
PatternRule(r'enumeration', r'^ *(?:[0-9]+|#)\.(?=$| )'),
|
||||||
|
|
||||||
RegionRule(r'strong_emphasis', r'\*\*', RSTString, r'\*\*'),
|
RegionRule(r'strong_emphasis', r'\*\*', RSTString, r'\*\*'),
|
||||||
RegionRule(r'emphasis', r'\*', RSTString, r'\*'),
|
RegionRule(r'emphasis', r'\*', RSTString, r'\*'),
|
||||||
|
|
Loading…
Reference in New Issue