module Reg::Reg

Public Instance Methods

>>(rep) click to toggle source
# File lib/redparse/babyparser.rb, line 40
def >>(rep)
  Transform.new(self,rep)
end
la() click to toggle source
# File lib/redparse/reg_more_sugar.rb, line 79
def la
  LookAhead.new(self)
end
lb() click to toggle source
# File lib/redparse/reg_more_sugar.rb, line 52
def lb
  LookBack.new(self)
end
watch() click to toggle source
# File lib/redparse/reg_more_sugar.rb, line 106
def watch
  result=dup
  class<<result
    def ===(other)
      result=super
      result and p other
      return result            
    end
  end
  return result
end