Skip to content

Commit

Permalink
Fix JuliaLang#6509 (recognize _ in numeric literals in textmate synta…
Browse files Browse the repository at this point in the history
…x highlighting)
  • Loading branch information
malmaud committed Apr 15, 2014
1 parent 3766e86 commit 8a53061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/Julia.tmbundle/Syntaxes/Julia.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@
<array>
<dict>
<key>match</key>
<string>((\b0(x|X)[0-9a-fA-F]+)|(\b0o[0-7]+)|(\b0b[0-1]+)|((\b[0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]*)?(im)?|\bInf(32)?\b|\bNaN(32)?\b)</string>
<string>((\b0(x|X)[0-9a-fA-F](_?[0-9a-fA-F])*)|(\b0o[0-7](_?[0-7])*)|(\b0b[0-1](_?[0-1])*)|((\b[0-9](_?[0-9])*\.?(_?[0-9]*))|(\.[0-9](_?[0-9])*))((e|E)(\+|-)?(_?[0-9])*)?(im)?|\bInf(32)?\b|\bNaN(32)?\b)</string>
<key>name</key>
<string>constant.numeric.julia</string>
</dict>
Expand Down

0 comments on commit 8a53061

Please sign in to comment.