Is it used to refer to groups in text replacement? Sometimes that's a dollar 
sign, sometimes a slash, but I thought it was a backslash.

> On Sep 18, 2019, at 13:51 , Jens Alfke via Cocoa-dev 
> <cocoa-dev@lists.apple.com> wrote:
> 
> 
> 
>> On Sep 18, 2019, at 1:45 PM, Gabriel Zachmann via Cocoa-dev 
>> <cocoa-dev@lists.apple.com> wrote:
>> 
>> I don't see why / is a meta character.
>> It does not appear anywhere else in the documentation as metacharacter.
> 
> In some languages "/" is used as the delimiter to begin/end a regular 
> expression, for example in sed where the substitution command is "s/old/new/".
> 
> So perhaps the underlying regex parser ignores "/" characters at the 
> start/end of the regex unless they're quoted?
> 
> —Jens
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/rmann%40latencyzero.com
> 
> This email sent to rm...@latencyzero.com


-- 
Rick Mann
rm...@latencyzero.com


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to