Yet another tweak to the regex, use ungreedy mode

This commit is contained in:
Raphael Geissert 2011-02-02 10:21:36 -06:00
parent f8e2d50e6f
commit 3c76dd2e3f
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
</message>
</rule>
<rule version="1">
<pattern>Token :: Match \([^,]+,\s+"[^%|!\[\]]+"</pattern>
<pattern>(?U)Token :: Match \([^,]+,\s+"[^%|!\[\]]+"</pattern>
<message>
<id>UseTokensimpleMatch</id>
<severity>error</severity>