Re: OgreKit, onigurama, and named groups
Re: OgreKit, onigurama, and named groups
- Subject: Re: OgreKit, onigurama, and named groups
- From: Kevin Ballard <email@hidden>
- Date: Tue, 4 Jan 2005 01:05:34 -0500
It is misleading, but I believe the first switch means capture named
groups, don't capture numbered groups. The second means capture both,
and neither means capture only numbered groups.
And I don't know why numberOfNamedGroups is returning anything when
they're not supposed to be captured - a bug, maybe?
On Jan 3, 2005, at 9:57 PM, Roarke Lynch wrote:
What throws me off reading this and looking at OGRegularExpression.h
there are the following lines in the comments concerning the options:
OgreDontCaptureGroupOption named group only captured. (/.../g)
OgreCaptureGroupOption named and no-named group captured. (/.../G)
Reading this I would assume that there is no way for named capture to
be turned off. Similarly if named grouping is not enabled than why
would the numberOfNamedGroups method return any value at all?
--
Kevin Ballard
email@hidden
http://www.tildesoft.com
http://kevin.sb.org
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden