Skip to content

Commit

Permalink
[Python] Fix Oniguruma incompatibility with regex for path (sublimehq…
Browse files Browse the repository at this point in the history
  • Loading branch information
robinst authored and wbond committed Mar 19, 2019
1 parent b13101e commit 9d517e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/Python.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ variables:
identifier: '\b[[:alpha:]_]{{identifier_continue}}*\b'
identifier_constant: '\b(?:[\p{Lu}_][\p{Lu}_\d]*)?[\p{Lu}]{2,}[\p{Lu}_\d]*\b' # require 2 consecutive upper-case letters
digitpart: (?:\d(?:_?\d)*)
path: '({{identifier}} *\. *)*{{identifier}}'
path: '({{identifier}}[ ]*\.[ ]*)*{{identifier}}'
sql_indicator: \s*(?:SELECT|INSERT|UPDATE|DELETE|CREATE|REPLACE|ALTER|WITH)\b
illegal_names: (?:and|as|assert|break|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|not|or|pass|raise|return|try|while|with|yield)
format_spec: |-
Expand Down

0 comments on commit 9d517e2

Please sign in to comment.