Skip to content

phoet/rebuil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages