Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add support for a, d, l and u regex modifiers (all new in 5.14)

  • Loading branch information...
commit 7d26e3636d4ccab79967641591759329b5c50d2c 1 parent f52c2a0
@2shortplanks 2shortplanks authored infininight committed
Showing with 7 additions and 7 deletions.
  1. +7 −7 Syntaxes/Perl.plist
View
14 Syntaxes/Perl.plist
@@ -54,7 +54,7 @@
<key>comment</key>
<string>string.regexp.compile.perl</string>
<key>end</key>
- <string>((([egimosxr]*)))(?=(\s+\S|\s*[;\,\#\{\}\)]|$))</string>
+ <string>((([egimosxradlu]*)))(?=(\s+\S|\s*[;\,\#\{\}\)]|$))</string>
<key>endCaptures</key>
<dict>
<key>1</key>
@@ -301,7 +301,7 @@
<key>comment</key>
<string>string.regexp.replace.perl</string>
<key>end</key>
- <string>((([egimosxr]*)))(?=(\s+\S|\s*[;\,\#\{\}\)\]&gt;]|$))</string>
+ <string>((([egimosxradlu]*)))(?=(\s+\S|\s*[;\,\#\{\}\)\]&gt;]|$))</string>
<key>endCaptures</key>
<dict>
<key>1</key>
@@ -634,11 +634,11 @@
</dict>
<dict>
<key>begin</key>
- <string>\b(?=s([^\s\w\[({&lt;]).*\1([egimosr]*)([\}\)\;\,]|\s+))</string>
+ <string>\b(?=s([^\s\w\[({&lt;]).*\1([egimosradlu]*)([\}\)\;\,]|\s+))</string>
<key>comment</key>
<string>string.regexp.replaceXXX</string>
<key>end</key>
- <string>((([egimosr]*)))(?=([\}\)\;\,]|\s+|$))</string>
+ <string>((([egimosradlu]*)))(?=([\}\)\;\,]|\s+|$))</string>
<key>endCaptures</key>
<dict>
<key>1</key>
@@ -747,7 +747,7 @@
<key>comment</key>
<string>string.regexp.replace.extended</string>
<key>end</key>
- <string>\2((([egimosr]*x[egimosr]*)))\b</string>
+ <string>\2((([egimosradlu]*x[egimosradlu]*)))\b</string>
<key>endCaptures</key>
<dict>
<key>1</key>
@@ -808,7 +808,7 @@
</dict>
</dict>
<key>end</key>
- <string>'(?=[egimosr]*x[egimosr]*)\b</string>
+ <string>'(?=[egimosradlu]*x[egimosradlu]*)\b</string>
<key>name</key>
<string>string.regexp.replace.extended.simple_delimiter.perl</string>
<key>patterns</key>
@@ -831,7 +831,7 @@
</dict>
</dict>
<key>end</key>
- <string>\1(?=[egimosr]*x[egimosr]*)\b</string>
+ <string>\1(?=[egimosradlu]*x[egimosradlu]*)\b</string>
<key>name</key>
<string>string.regexp.replace.extended.simple_delimiter.perl</string>
<key>patterns</key>
Please sign in to comment.
Something went wrong with that request. Please try again.