branch : pmacs2
This commit is contained in:
moculus 2008-11-12 15:16:26 +00:00
parent e8e81d8633
commit a57c6982b7
1 changed files with 3 additions and 3 deletions

View File

@ -12,6 +12,9 @@ class RSTGrammar(Grammar):
rules = [
PatternRule(r'escape', r'\\.'),
PatternRule(r'bullet', r'^ *[-*+]'),
PatternRule(r'enumeration', r'^ *(?:[0-9]+|#)\.'),
RegionRule(r'strong_emphasis', r'\*\*', RSTString, r'\*\*'),
RegionRule(r'emphasis', r'\*', RSTString, r'\*'),
RegionRule(r'inline_literal', r'``', RSTString, r'``'),
@ -32,9 +35,6 @@ class RSTGrammar(Grammar):
PatternRule(r'option', r'^(?:--|-|/)[a-zA-Z]+(?:[ =][-a-zA-Z_]+)?'),
RegionRule(r'table', r'\+-+(\+-+)*\+\n$', Grammar, r'^\n$'),
PatternRule(r'bullet', r'^ *[-*+]'),
PatternRule(r'enumeration', r'^ *(?:[0-9]+|#)\.'),
PatternRule(r'field', r'^:.+?:'),
PatternRule(r'lineblock', r'^\|'),