Skip to content

Commit fb2db6a

Browse files
author
MattDMo
committed
fixed constant.numeric.integer.octal to be case-insensitive
1 parent 6bd6a9a commit fb2db6a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

PythonImproved.YAML-tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ patterns:
6565
match: \b(?i:(0[o]?[0-7]+)L)
6666

6767
- name: constant.numeric.integer.octal.python
68-
match: \b(0[o]?[0-7]+)
68+
match: \b(?i:(0[o]?[0-7]+))
6969

7070
- name: constant.numeric.complex.python
7171
match: \b(?i:(((\d+(\.(?=[^a-zA-Z_])\d*)?|(?<=[^0-9a-zA-Z_])\.\d+)(e[\-\+]?\d+)?))J)

PythonImproved.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
</dict>
168168
<dict>
169169
<key>match</key>
170-
<string>\b(0[o]?[0-7]+)</string>
170+
<string>\b(?i:(0[o]?[0-7]+))</string>
171171
<key>name</key>
172172
<string>constant.numeric.integer.octal.python</string>
173173
</dict>

0 commit comments

Comments
 (0)