parent
2e5eb32fd2
commit
b346d64d86
|
@ -78,7 +78,7 @@ class ShGrammar(Grammar):
|
|||
RegionRule(r'string', '"', StringGrammar, '"'),
|
||||
OverridePatternRule(r'comment', r'#@@:(?P<token>[.a-zA-Z0-9_]+):(?P<mode>[.a-zA-Z0-9_]+) *$'),
|
||||
PatternRule(r'comment', r'#.*$'),
|
||||
PatternRule(r'bareword', r'[-a-zA-Z0-9_.]+'),
|
||||
PatternRule(r'bareword', r'(?:[-a-zA-Z0-9_.]|\\.)+'),
|
||||
PatternRule(r'continuation', r'\\\n$'),
|
||||
PatternRule(r'eol', r'\n$'),
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue