Re: Xcode Editor's Regex now uses PCRE instead of ICU?
Re: Xcode Editor's Regex now uses PCRE instead of ICU?
- Subject: Re: Xcode Editor's Regex now uses PCRE instead of ICU?
- From: Bill Royds <email@hidden>
- Date: Mon, 10 Mar 2008 23:48:26 -0400
On 10-Mar-08, at 23:28 , Jerry Krinock wrote: David, someone is lying to you. Please try this.
"a backslash followed by a digit greater than 0 (and possibly further digits) is a back reference to a capturing sub- pattern"
$n The text of capture group n will be substituted for $n."
No, $1 etc. is also used in Perl RE. The \1 format refers to back references INSIDE the capture pattern, while the $1, $2 etc. refers to references in the substitution pattern to a capture group. Both are available in bot Perl and ICU. ICU regular expressions ARE Perl regular expressions, From ICU page you reference:
ICU's Regular Expressions package provides applications with the ability to apply regular _expression_ matching to Unicode string data. The regular _expression_ patterns and behavior are based on Perl's regular expressions.
|
_______________________________________________
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