rst grammar fix--references

--HG--
branch : pmacs2
This commit is contained in:
Erik Osheim 2009-05-29 00:10:31 -04:00
parent 63196f5646
commit 846928a030
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class RSTGrammar(Grammar):
RegionRule(r'interpreted', r'`', RSTString2, r'`_?'),
PatternRule(r'anonymous', r'[a-zA-Z]+__'),
PatternRule(r'reference', r'[a-zA-Z]+_'),
PatternRule(r'reference', r'[a-zA-Z]+_(?![a-zA-Z0-9_])'),
RegionRule(r'inline_internal', r'_`', RSTString2, r'`'),
RegionRule(r'substitution', r'\|(?! )', RSTString3, r'\|'),