Re: find regular expressions
Re: find regular expressions
- Subject: Re: find regular expressions
- From: Paul Russell <email@hidden>
- Date: Sat, 1 Nov 2008 06:06:14 -0700
On 1 Nov 2008, at 04:52, Tom Worster wrote:
concerning the xcode text editor's find feature, the xcode user
guide refers
to ICU's Regular Expressions documentation at
http://www.icu-project.org/userguide/regexp.html
so i'm surprised with how look-behind assertions are working. here's
some
things i tried in xcode 3.1. the regexp i tried is the bit before
the -- and
my comment.
base -- matches all your base, i mean: all instances of base.
base(?<!data) -- matches all your base including database!
base(?<=data) -- matches nothing, not even your database!
I think you have the lookbehind assertions in the wrong part of your
expression - you probably want
(?<=data)base or (?<!data)base in the above examples ?
Paul
_______________________________________________
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