Skip to content
Browse files

Desperate attempt to fix highlighting of numerics in patterns

  • Loading branch information...
1 parent 06aa426 commit 495def14a72bde4333eb2d89656a824f304130c0 @djspiewak committed Jan 29, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 scala.xml
View
4 scala.xml
@@ -229,7 +229,9 @@
</SPAN>
</RULES>
- <RULES SET="PATTERN" DEFAULT="NULL" IGNORE_CASE="FALSE">
+ <RULES SET="PATTERN" DEFAULT="NULL" IGNORE_CASE="FALSE"
+ DIGIT_RE="(0[lL]?|[1-9]\d{0,9}(\d{0,9}[lL])?|0[xX]\p{XDigit}{1,8}(\p{XDigit}{0,8}[lL])?|0[0-7]{1,11}([0-7]{0,11}[lL])?|([0-9]+\.[0-9]*|\.[0-9]+)([eE][+-]?[0-9]+)?[fFdD]?|[0-9]+([eE][+-]?[0-9]+[fFdD]?|([eE][+-]?[0-9]+)?[fFdD]))">
+
<IMPORT DELEGATE="PRIMARY"/>
<SEQ TYPE="OPERATOR">@</SEQ>

0 comments on commit 495def1

Please sign in to comment.
Something went wrong with that request. Please try again.