parent
affd8f13f4
commit
a937b50d1b
|
@ -137,7 +137,7 @@ class SvnStatus(Method):
|
|||
class SvnLog(Method):
|
||||
'''display the SVN log for the current file'''
|
||||
sep_re = re.compile('^-+$')
|
||||
log_re = re.compile('^(.+?) \| (.+?) \| (.{25}) .+? \| (.+)$')
|
||||
log_re = re.compile(r'^(.+?) \| (.+?) \| (.{25}) .+? \| (.+)$')
|
||||
def _build_entry(self, log_line, mesg_lines):
|
||||
log_data = '[c:d:*]%s [g:d:*]%s [b:d:*]%s [c:d:*]%s' % log_line
|
||||
mesg_data = '\n'.join(mesg_lines).strip()
|
||||
|
|
|
@ -50,7 +50,7 @@ class PythonGrammar(Grammar):
|
|||
PatternRule('python.system_identifier', '__[a-zA-Z0-9_]+__'),
|
||||
PatternRule('python.private_identifier', '__[a-zA-Z0-9_]*'),
|
||||
PatternRule('python.hidden_identifier', '_[a-zA-Z0-9_]*'),
|
||||
PatternRule('python.identifier', '[a-zA-Z_][a-zA-Z0-9_]*'),
|
||||
PatternRule('python.identifier', '[a-zA-Z_][a-zA-Z0-9_]*(?![a-zA-Z0-9_\'"])'),
|
||||
|
||||
RegionRule('rawstring', 'r"""', StringGrammar4, '"""'),
|
||||
RegionRule('rawstring', "r'''", StringGrammar3, "'''"),
|
||||
|
|
Loading…
Reference in New Issue