Similar to this one
Repro
- watched words regular expressions enabled
- watched words tag action
- regular expression
*abc
Result
It is impossible to create topics or posts
RegexpError (target of repeat operator is not specified: /(*abc)/i)
app/services/word_watcher.rb:239:in `initialize'
app/services/word_watcher.rb:239:in `new'
app/services/word_watcher.rb:239:in `word_matches?'
lib/topic_creator.rb:214:in `block in setup_tags'
lib/topic_creator.rb:213:in `each'
lib/topic_creator.rb:213:in `setup_tags'
lib/topic_creator.rb:48:in `create'
lib/post_creator.rb:493:in `create_topic'
Cause
*
means “repeat the previous token zero or more times”- there is no previous token