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.
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. https://www.freebsd.org/cgi/man.cgi?query=re_format§ion=7 Here's an example that appears to work http://www.lemoda.net/c/unix-regex/index.html Some Alternatives: The PCRE (Perl Compatible) library http://davekb.com/search.php?target=pcre The C++ standard library has regex stuff.
Add a commentSign in to add a comment