• 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
OFRegularExpression escape character syntax?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OFRegularExpression escape character syntax?


  • Subject: OFRegularExpression escape character syntax?
  • From: Michael Norris <email@hidden>
  • Date: Tue, 12 Nov 2002 16:17:53 +1300

Hi guys

Anyone here used the OFRegularExpression class from the OmniFoundation code? It's working beautifully for most things, but I'm having trouble escaping the period character: doing a matchInString with @"\.+" just returns the entire string, rather than a series (of arbitrary length > 0) of periods. Anyone know what the correct syntax should be? (I've trawled through Google and the .h and .m files, but nothing obvious struck me, other than the niggling suspicion that escape characters haven't yet been implemented)

Cheers
-mike
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: OFRegularExpression escape character syntax?
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: Re: A comment and question about rendezvous...
  • Next by Date: Re: OFRegularExpression escape character syntax?
  • Previous by thread: RE: autosave table column problem
  • Next by thread: Re: OFRegularExpression escape character syntax?
  • Index(es):
    • Date
    • Thread