Class: Regexp
- Inherits:
-
Object
- Object
- Regexp
- Defined in:
- lib/eregex.rb
Instance Method Summary collapse
Instance Method Details
permalink #&(other) ⇒ Object
[View source]
29 30 31 |
# File 'lib/eregex.rb', line 29 def &(other) RegAnd.new(self, other) end |
permalink #|(other) ⇒ Object
[View source]
26 27 28 |
# File 'lib/eregex.rb', line 26 def |(other) RegOr.new(self, other) end |