Class: Xre::RegexList
- Inherits:
-
Object
- Object
- Xre::RegexList
- Defined in:
- lib/xre.rb
Instance Method Summary collapse
- #captures(text) ⇒ Object
- #captures_with_context(text, context_radius:, context_boundary: "\n") ⇒ Object
- #inspect ⇒ Object
Instance Method Details
#captures(text) ⇒ Object
16 17 18 |
# File 'lib/xre.rb', line 16 def captures(text) __captures_without_context(text) end |
#captures_with_context(text, context_radius:, context_boundary: "\n") ⇒ Object
12 13 14 |
# File 'lib/xre.rb', line 12 def captures_with_context(text, context_radius:, context_boundary: "\n") __captures_with_context(text, context_radius, context_boundary) end |
#inspect ⇒ Object
20 21 22 |
# File 'lib/xre.rb', line 20 def inspect "#<Xre::RegexList targets=#{__targets}" end |