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: regcomp() and regex pattern help


On Tue, 2015-03-17 at 12:55 +0100, Florian Weimer wrote:
> Try "\^s{2}Power states:((\s\w+)+)".

Thanks, but as I later discovered what I was trying to do wasn't
possible. The capture list can never be of variable length as I
understand it with POSIX regular expressions.

-- 
Kip Warner -- Senior Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

Attachment: signature.asc
Description: This is a digitally signed message part


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