Regular Expressions Back-references
Regular Expressions Back-references
- Subject: Regular Expressions Back-references
- From: Jens Miltner <email@hidden>
- Date: Wed, 20 Apr 2005 12:05:28 +0200
Hello list,
I can't get regexp back references in my replacement strings to work in Xcode.
Some time ago, Florian posted the following question, which describes the problem well, but AFAICS, he didn't receive any answer, at least not on the list.
Can anybody answer this question or doesn't Xcode support back references / capture group references at all?
Thanks,
</jum>
Anfang der weitergeleiteten E-Mail:
Von: Florian Bischof <email@hidden>
Datum: 29. Oktober 2004 16:04:14 MESZ
An: email@hidden
Cc: Betreff: Regular Expressions Back-references
X-Mailer: Apple Mail (2.619)
I'm having trouble using back-references in a Regular Expression find & replace.
I tried the backslash and dollar-syntax, both didn't work as expected:
Xcode just replaced the matched strings with the replace-RegEx without match-substitution...
Find: alt="(.*)"
Replace: alt="\1" title="\1"
Am I missing something?
Thanks
Florian Bischof
_______________________________________________
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