Commit e1519a1b authored by Thomas Wouters's avatar Thomas Wouters

Update for augmented assignment, tested & approved by Guido.

parent 34052622
...@@ -54,8 +54,11 @@ Triple = group("[rR]?'''", '[rR]?"""') ...@@ -54,8 +54,11 @@ Triple = group("[rR]?'''", '[rR]?"""')
String = group("[rR]?'" + any(r"[^\n'\\]", r'\\.') + "'", String = group("[rR]?'" + any(r"[^\n'\\]", r'\\.') + "'",
'[rR]?"' + any(r'[^\n"\\]', r'\\.') + '"') '[rR]?"' + any(r'[^\n"\\]', r'\\.') + '"')
Operator = group('\+', '\-', '\*\*', '\*', '\^', '~', '/', '%', '&', '\|', Operator = group('\+=', '\-=', '\*=', '%=', '/=', '\*\*=', '&=', '\|=',
'<<', '>>', '==', '<=', '<>', '!=', '>=', '=', '<', '>') '\^=', '>>=', '<<=', '\+', '\-', '\*\*', '\*', '\^', '~',
'/', '%', '&', '\|', '<<', '>>', '==', '<=', '<>', '!=',
'>=', '=', '<', '>')
Bracket = '[][(){}]' Bracket = '[][(){}]'
Special = group(r'\r?\n', r'[:;.,`]') Special = group(r'\r?\n', r'[:;.,`]')
Funny = group(Operator, Bracket, Special) Funny = group(Operator, Bracket, Special)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment