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