branch : pmacs2
This commit is contained in:
moculus 2008-11-12 15:17:39 +00:00
parent a57c6982b7
commit a1199a2b43
1 changed files with 2 additions and 2 deletions

View File

@ -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'\*'),