Class: ProfanityFilterEngine::AllowSymbolsInWordsStrategy
- Inherits:
-
ExactMatchStrategy
- Object
- Component
- RegexpStrategy
- ExactMatchStrategy
- ProfanityFilterEngine::AllowSymbolsInWordsStrategy
- Defined in:
- lib/profanity-filter/engines/allow_symbols_in_words_strategy.rb
Constant Summary collapse
- SYMBOLS_REGEXP =
'(?:\p{Mark}|\p{Separator}|\p{Symbol}|\p{Punctuation})*'
- DEFAULT_IGNORE_CASE =
true
Constants inherited from ExactMatchStrategy
Constants inherited from RegexpStrategy
RegexpStrategy::DEFAULT_DELIMITER
Instance Attribute Summary
Attributes inherited from ExactMatchStrategy
Attributes inherited from RegexpStrategy
#dictionary, #profanity_regexp
Method Summary
Methods inherited from ExactMatchStrategy
Methods inherited from RegexpStrategy
#initialize, #profane?, #profane_words
Methods inherited from Component
#profane?, #profane_words, #profanity_count
Constructor Details
This class inherits a constructor from ProfanityFilterEngine::ExactMatchStrategy