Class: Regexp

Inherits:
Object
  • Object
show all
Defined in:
lib/regex2string/regexp.rb

Instance Method Summary collapse

Instance Method Details

#generate_unmatched(char_count = 10) ⇒ Object



2
3
4
# File 'lib/regex2string/regexp.rb', line 2

def generate_unmatched(char_count = 10)
  ::Regex2String::Unmatched.new(source,char_count).generate_unmatched
end