Skip to content

Commit

Permalink
Add support for a, d, l and u regex modifiers (all new in 5.14)
Browse files Browse the repository at this point in the history
  • Loading branch information
2shortplanks authored and infininight committed Sep 14, 2012
1 parent f52c2a0 commit 7d26e36
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Syntaxes/Perl.plist
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand All @@ -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>
Expand Down

0 comments on commit 7d26e36

Please sign in to comment.