Re: Regex Documentation in Xcode 3.0 ?
Re: Regex Documentation in Xcode 3.0 ?
- Subject: Re: Regex Documentation in Xcode 3.0 ?
- From: Jerry Krinock <email@hidden>
- Date: Thu, 24 Jan 2008 21:43:59 -0800
On 2008 Jan, 23, at 10:46, Jaime Rios wrote:
http://www.icu-project.org/userguide/regexp.html
The above site says that replacement patterns are symbolized by
$0,$1,$2,...
which does not work in Xcode 3. Xcode 3 uses \1,\2,\3,... like BBEdit.
http://regexlib.com/CheatSheet.aspx
The above does not cover replacement patterns; information is copied
from Microsoft .NET site.
http://www.perl.com/doc/manual/html/pod/perlre.html which is a good
site as well.
Like the ICU site, this site also says incorrectly that replacement
patterns are symbolized by $0,$1,$2,... It is correct for perl but
not for Xcode 3. Also, it is difficult to find simple facts in this
document. This document is mostly geared toward those pursuing
academic perl challenges such as one-line cryptography.
So, I still don't know where the Regex documentation for Xcode 3.0
is. The "Grep Reference" in BBEdit's Help menu seems to be the best
match to Xcode's behavior.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden