Find Extra Spaces
The following rule looks for more than one space between words or sentences.
extends: existence
message: "Use only one space between words and sentences (not two)."
level: error
nonword: true
tokens:
- '[\w.?!,\(\)\-":] {2,}[\w.?!,\(\)\-":]'
Tags:
Found this useful?
Buy the book