RepeatedWords

Catch instances of repeated words.

Source

extends: repetition
message: "'%s' is repeated!"
level: error
alpha: true
tokens:
  - '[^\s]+'

Example

This is is a sentence with a repeated word.