Re: Regular Expressions

new topic     » goto parent     » topic index » view thread      » older message » newer message
CraigWelch said...

I need to do some 'stuff' using regular expressions.

There seem to be two approaches:

  1. EuRegExp by Christian Cuvier
  2. A PCRE wrapper by Karl Bochert. Labelled as 'Windows', but PCRE is common on Linux so I assume it would work.

Has anyone used both, such that they could comment on the relative merits?

  1. EuRegExp: Unfortunately, doesn't work. At least, the latest version posted on the web, 0.91, has errors just parsing. I never got past that to see how the regex stuff actually performed.
  2. PCRE: You might need to change the open_dll()/define_c_* imports to get it working on Linux. But probably not difficult to get working.
  3. wxEuphoria: It's probably overkill, but it also supports regular expressions.
  4. Euphoria 4.0: Natively supports regular expressions. It's not ready for use in a production environment, but if you're just doing some one-off data munging, it would probably be fine.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu