Well the regexes he was using were -- I don't know why but for some
reason I didn't interpet the {} as part of what he was looking for in
the string, and then I glossed over it in your regex...

> No it won't, there can't be a ( after the last word, it
> has to be a }

> Pascal

>> -----Original Message-----
>> From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
>> Sent: 10 August 2004 16:53
>> To: CF-Talk
>> Subject: RE: looking for a regex
>>
>> he means this regex will return things like
>> window.location.replace()
>> or document.write() -- he wants to exclude those.
>>
>> > \{\w+(\.\w+)*\}
>>
>> > What do you mean by js functions?
>>
>> > Pascal
>>
>> >> -----Original Message-----
>> >> From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
>> >> Sent: 10 August 2004 16:44
>> >> To: CF-Talk
>> >> Subject: looking for a regex
>> >>
>> >> Hello
>> >>
>> >> I'm looking for a regex that will identify items in a
>> >> template file
>> >> along the lines of
>> >>
>> >> {item}
>> >> {item.subitem}
>> >> {item.subitem1.subitem2}
>> >>
>> >> etc...
>> >>
>> >> But that will not pull up _javascript_ functions!!
>> >>
>> >> Any guru's out there who can help?
>> >>
>> >> Thanks,
>> >> Ryan
>> >>
>> >>
>>
>> >
>>
>>

>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to