Skip to content

"Repetition" extension failing? #433

Answered by jdkato
daobrien asked this question in Q&A
Discussion options

You must be logged in to vote

The problem is the punctuation at the end of "text."; in other words, "text" != "text." You can ignore this kind of difference by adjusting the pattern, for example:

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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@daobrien
Comment options

Answer selected by jdkato
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants