Dave's Brain

Browse - Programming Tips - Is C regex useful?

Date: 2015may30
Language: C

Q.  Is C regex useful?

A.  Not really.

It doesn't work nicely for me and it crashes sometimes on Linux.
If the format is described (without examples!) in the re_format man page.

Here's an example that appears to work

Some Alternatives:

The PCRE (Perl Compatible) library		

The C++ standard library has regex stuff.

Add a comment

Sign in to add a comment
Copyright © 2008-2018, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.