This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Regex


2014/1/9 vijay nag <vijunag@gmail.com>:
> Ok. And the real question here is, why "*" cannot be used to match any
> string in extended regular expression whereas it works fine in basic
> regular expressions ?

Could you provide a minimal test program?

It looks like a bug.

http://pubs.opengroup.org/onlinepubs/009695399/functions/regcomp.html :

REG_BADRPT
'?', '*', or '+' not preceded by valid regular expression.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]