[Source]
# File lib/eregex.rb, line 15 15: def initialize(re1, re2) 16: @re1 = re1 17: @re2 = re2 18: end
# File lib/eregex.rb, line 20 20: def =~ (str) 21: @re1 =~ str and @re2 =~ str 22: end
[Validate]