views:

35

answers:

1

How do I install a C regex into MinGW? I'm using it's gcc... I'm running Windows XP. I prefer a updated one. Thank you.

A: 

TRE

According to the author it conforms more closely to POSIX than almost anything out there, and also has support for approximate regexs. It's quite up to date, and should work on XP.

It only claims success with Windows 98-XP/Microsoft Visual C++ 6.0. Cygwin 1.3-1.5 with GCC is also works, apparently, but if you do manage to compile and integrate it, give the author an email.

Rooke