Module: Trxl::RegexMatchExp1

Defined in:
lib/trxl/trxl_grammar.rb

Instance Method Summary collapse

Instance Method Details

#match_opObject



4276
4277
4278
# File 'lib/trxl/trxl_grammar.rb', line 4276

def match_op
  '=~'
end

#pattern(env = Environment.new) ⇒ Object



4272
4273
4274
# File 'lib/trxl/trxl_grammar.rb', line 4272

def pattern(env = Environment.new)
  regexp.eval(env)
end