Unix Programming - Re: regular expression help using regex.h in c program

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > June 2007 > Re: regular expression help using regex.h in c program





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: regular expression help using regex.h in c program
bpatton

2007-06-21, 7:23 am

On Jun 20, 10:46 am, Hyuga <hyugaricd...@gmail.com> wrote:
> On Jun 19, 7:23 am, bpatton <bpat...@ti.com> wrote:
>
>
>
>
>
>
>
>
>
> This style of regular expression doesn't use perl-style escape
> sequences like \s and \w. Instead there are special character classes
> such as [:space:] that you can use. So for your example the following
> would work: "[:space:]*COMMENT[:space:]*"
> Seehttp://www.opengroup.org/onlinepubs/007908799/xbd/re.html


Thanks, works perfectly
That the only documentation I've found for it. man on regex was no
help

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com