Permalink
Browse files

Explicit count modifiers for regex

The `{,N}` extension is not supported by most Regexp engines, as it is
an Onigurma-only extension.
  • Loading branch information...
1 parent 8300a39 commit b96701b5ebea10c6cb363fb2a8fdb32d93093b3b @pchaigno pchaigno committed with infininight Dec 16, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 Syntaxes/Objective-J.tmLanguage
@@ -149,7 +149,7 @@
<array>
<dict>
<key>match</key>
- <string>\\(\\|[abefnrtv'"?]|[0-3]\d{,2}|[4-7]\d?|x[a-zA-Z0-9]+)</string>
+ <string>\\(\\|[abefnrtv'"?]|[0-3]\d{0,2}|[4-7]\d?|x[a-zA-Z0-9]+)</string>
<key>name</key>
<string>constant.character.escape.js.objj</string>
</dict>

0 comments on commit b96701b

Please sign in to comment.