A Regular Expression Builder
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
lib
test
rakefile.rb
readme.textile
rebuil.gemspec

readme.textile

Rebuil – A Regular Expression Builder

A readable DSL for Ruby Regexp.

Usage

match = rebuil("hello world") do
	many
	group("rebuil", :cool)
end.match('hello world with rebuil')

puts "#{match[:cool]} is cool" #=> rebuil is cool

Examples

See the examples folder or the tests for further reading.