[LCP] input needed

David Filion david at filiontech.com
Mon Jul 23 12:58:59 UTC 2007


Zach wrote:
> Hi David,
>
> I really want to do this in C since it will help me in learning C :)
>
> So there are external (non-ANSI) libraries that do regular expression
> operations?
> A regular expression is a sentence?
>
> Zach
>
> _______________________________________________
> This is the Linux C Programming List
> :  http://lists.linux.org.au/listinfo/linuxcprogramming List
>   
Not a problem, it was just a suggestion.  For myself I learn a 
programming language when I'm working on a real task such as this rather 
then the mind numbing examples provided with most learning texts.

Here are a couple of libraries...

- GNU provides a regex matching api with libc (I haven't tried it, but I 
probably will now). 
http://www.gnu.org/software/libc/manual/html_node/Regular-Expressions.html 

- PCRE, comes with just about every Linux distro and is used in numerous 
apps. http://www.pcre.org/

And a few others, 
http://dmoz.org/Computers/Programming/Languages/Regular_Expressions/C_and_C%2b%2b/


I'm not quite sure what you mean by "a regular expression is a sentence".


David




More information about the linuxCprogramming mailing list