Class: NegatedRegexp

Inherits:
Regexp show all
Defined in:
lib/riel/regexp.rb

Overview

Negates the given expression.

Constant Summary

Constants inherited from Regexp

Regexp::SH2RE, Regexp::WORD_END_RE, Regexp::WORD_START_RE

Instance Method Summary collapse

Methods inherited from Regexp

create, matches_word_end?, matches_word_start?, perl_subst, unixre_to_string

Instance Method Details

#match(str) ⇒ Object



6
7
8
# File 'lib/riel/regexp.rb', line 6

def match str
  !super
end