• 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
Why is / a metachar in regular expressions ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why is / a metachar in regular expressions ?


  • Subject: Why is / a metachar in regular expressions ?
  • From: Gabriel Zachmann via Cocoa-dev <email@hidden>
  • Date: Wed, 18 Sep 2019 22:45:01 +0200

In the doc for NSRegularExpression, it says

   "Characters that must be quoted to be treated as literals are * ? + [ ( ) {
} ^ $ | \ . / "

I don't see why / is a meta character.
It does not appear anywhere else in the documentation as metacharacter.

(Also not at http://userguide.icu-project.org/strings/regexp , which is
referenced in the
doc for NSRegularExpression )

Can anyone shed light on this?

Best regards, Gabriel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Why is / a metachar in regular expressions ?
      • From: Jens Alfke via Cocoa-dev <email@hidden>
  • Prev by Date: Re: Pausing an animation
  • Next by Date: Re: Why is / a metachar in regular expressions ?
  • Previous by thread: Re: Pausing an animation
  • Next by thread: Re: Why is / a metachar in regular expressions ?
  • Index(es):
    • Date
    • Thread