A Simple Regex Language compiler for Rubyists
The srl_ruby gem packs with its latest version 0.4.0 a compiler that transforms text patterns expressed in SRL into plain Ruby Regexps.
The Simple Regex Language (SRL) allows to easily design and write highly readable text patterns without being a regular expression guru.
The srl2ruby
compiler even has the option to output both original SRL and its Regexp counterpart so that they can be inserted together in one place in your Ruby source code, easing further the maintenance…
Interested?
Take a look at the project’s README or give the srl_ruby
gem a try.
Post a comment