RegexReplacementRule
class RegexReplacementRule(regex: String, val replacement: String) extends AbstractRegexReplacementRule
RegexReplacementRule class.
Value members
Concrete methods
Inherited methods
Tests to see if this rule applies for the given word.
Tests to see if this rule applies for the given word.
- Returns:
true
if this rule should be applied,false
otherwise- Inherited from:
- AbstractRegexReplacementRule
Applies this rule to the word, and transforming it into a new form.
Applies this rule to the word, and transforming it into a new form.
- Returns:
the transformed word
- Inherited from:
- AbstractRegexReplacementRule