Skip to content

Commit a9681ad

Browse files
committed
Also detect useless spacing at the end of *Match calls
1 parent 6143568 commit a9681ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rules/token-matching.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
22
<rule version="1">
3-
<pattern>Token :: (?:findm|(?:simple|)M)atch \([^,]+,\s+"\s+</pattern>
3+
<pattern>Token :: (?:findm|(?:simple|)M)atch \([^,]+,\s+"(?:\s+|[^"]+?\s+")</pattern>
44
<message>
55
<id>TokenMatchSpacing</id>
66
<severity>style</severity>

0 commit comments

Comments
 (0)