A readable DSL for Ruby Regexp.
match = rebuil("hello world") do many group("rebuil", :cool) end.match('hello world with rebuil')
puts "#{match[:cool]} is cool" #=> rebuil is cool
See the examples folder or the tests for further reading.
A readable DSL for Ruby Regexp.
match = rebuil("hello world") do many group("rebuil", :cool) end.match('hello world with rebuil')
puts "#{match[:cool]} is cool" #=> rebuil is cool
See the examples folder or the tests for further reading.