Yet another tweak to the regex, use ungreedy mode
This commit is contained in:
parent
f8e2d50e6f
commit
3c76dd2e3f
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue