M
Michael Edgar
Good day Rubyists,
I've just finished a write-up on an interesting problem: using Ruby's =
Regexp engine
to search arbitrary sequences of potentially heterogenous objects. It's =
based on the
more specific instance used in Ripper in 1.9. I've packaged it into a =
gem though it is
a bit rough around the edges.
The post can be found here: =
http://carboni.ca/blog/p/Regex-Search-on-Arbitrary-Sequences
And the gem can be found here: =
https://github.com/michaeledgar/object_regex
The gem requires Ruby 1.9+.
Cheers,
Mike Edgar
http://carboni.ca/=
I've just finished a write-up on an interesting problem: using Ruby's =
Regexp engine
to search arbitrary sequences of potentially heterogenous objects. It's =
based on the
more specific instance used in Ripper in 1.9. I've packaged it into a =
gem though it is
a bit rough around the edges.
The post can be found here: =
http://carboni.ca/blog/p/Regex-Search-on-Arbitrary-Sequences
And the gem can be found here: =
https://github.com/michaeledgar/object_regex
The gem requires Ruby 1.9+.
Cheers,
Mike Edgar
http://carboni.ca/=