Forum: Ruby Importing/converting regex patterns

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Shak S. (Guest)
on 2009-04-04 15:42
I have a couple of regex patterns used and stored in a MySQL DB. As
such, they follow the MySQL syntax for describing regular expressions.

If I wanted to then use these in a Ruby app, is there a straightforward
way to convert these expressions? Possibly via another regex system?

If not, are there any conventional solutions to deal with this? At the
moment the only real option is to request a MySQL instance to do
validation for the Ruby app.

Thanks!

Shak
This topic is locked and can not be replied to.