Re: OgreKit, onigurama, and named groups
Re: OgreKit, onigurama, and named groups
- Subject: Re: OgreKit, onigurama, and named groups
- From: Shinichi Aota <email@hidden>
- Date: Thu, 30 Dec 2004 19:54:38 +0900
I haven't tried OgreKit, but here is my version of translation for the
relevant part of the document:
"Please see 'OGRegularExpression.h' for the options for generating a
regular expression object or
for matching. Also see the document of Oniguruma for the syntax of
regular expression. Specify
OgreCaptureGroupOption, when you use named group (?<name>...)."
Hope this helps
Shinichi
On 2004/12/30, at 10:48, Roarke Lynch wrote:
On Dec 29, 2004, at 2:57 AM, Kevin Ballard wrote:
I've never seen named groupings in a regex implementation based on
PCRE. Perhaps it's new?
It does actually, using a syntax that I believe is like Python's Regex
syntax (?P<groupName>atom), as I can't find any named grouping in the
Perl Regex syntax. I can across AERegex after my original post and
have managed to get the named captures working with it. OrgeKit seems
to be a lot more powerful, but I don't have any empirical evidence of
that, and honestly I don't like some the syntax that AERegex uses
(i.e. findEnumerator... as opposed to matchEnumerator...) but that's
just nit-picking. Does anyone know about that status of named
capturing in OrgeKit though?
Roarke Lynch
_______________________________________________
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
References: | |
| >OgreKit, onigurama, and named groups (From: Roarke Lynch <email@hidden>) |
| >Re: OgreKit, onigurama, and named groups (From: "Adam R. Maxwell" <email@hidden>) |
| >Re: OgreKit, onigurama, and named groups (From: Kevin Ballard <email@hidden>) |
| >Re: OgreKit, onigurama, and named groups (From: "Adam R. Maxwell" <email@hidden>) |
| >Re: OgreKit, onigurama, and named groups (From: Kevin Ballard <email@hidden>) |
| >Re: OgreKit, onigurama, and named groups (From: Roarke Lynch <email@hidden>) |