• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OgreKit, onigurama, and named groups
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: OgreKit, onigurama, and named groups (From: Satoshi Matsumoto <email@hidden>)
 >Re: OgreKit, onigurama, and named groups (From: Roarke Lynch <email@hidden>)

  • Prev by Date: Re: OT request: Shareware anti-cracking - need info
  • Next by Date: NSHost currentHost Slow
  • Previous by thread: Re: OgreKit, onigurama, and named groups
  • Next by thread: Cocoa Bindings - nondebuggable, non-obvious, procedural ???
  • Index(es):
    • Date
    • Thread