Method: Verbal#anything_but
- Defined in:
- lib/verbal.rb
#anything_but(value) ⇒ Object
Matches any number of any character that is not in value.
108 109 110 |
# File 'lib/verbal.rb', line 108 def anything_but(value) append "(?:[^#{sanitize value}]*)" end |