Skip to content

Commit df36041

Browse files
authored
Merge pull request #917 from aireilly/as-per
Add word boundary to "as per" rule to increase accuracy
2 parents 5f57d4f + 9866fe0 commit df36041

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.vale/styles/RedHat/TermsErrors.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ swap:
1212
"(?<!-)pm": PM
1313
"(?<!-|I )am": AM
1414
"(?<!.)io": I/O
15-
"(?<!as well )as per": according to|as|as in
15+
'(?<!as well )\bas per\b': according to|as|as in
1616
"(?<!kernel )oops": kernel oops
1717
"(?<!mobile |cell )phone": "telephone|cell phone|mobile phone"
1818
"(?<!Mozilla )Firefox": Mozilla Firefox

0 commit comments

Comments
 (0)