Class: Rrrex::NotMatch
- Includes:
- SingleAtomMatch
- Defined in:
- lib/rrrex/not_match.rb
Instance Attribute Summary
Attributes included from SingleAtomMatch
Instance Method Summary collapse
Methods included from SingleAtomMatch
Methods inherited from Match
#+, convert, #group_names, #match, #not, #or, #wrap
Instance Method Details
#to_regexp_string ⇒ Object
6 7 8 |
# File 'lib/rrrex/not_match.rb', line 6 def to_regexp_string "(?!#{atom.to_regexp_string})" end |