Importing/converting regex patterns

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.



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs