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