Class: Xre::RegexList

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

Instance Method Summary collapse

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

#inspectObject



20
21
22
# File 'lib/xre.rb', line 20

def inspect
  "#<Xre::RegexList targets=#{__targets}"
end