I think he doesn't want to find
{document.forms[0].bob.value=dom1.dom2.function()}

I'd remove everything contained in <script> tags first.  There are
several threads about that in the articles.  If you have onclicks or
_javascript_ calls in anchor tags, it can get more complicated, but I
don't want to think really hard about problems that haven't arisen yet.
  :-)

Depending on what your "items" look like, you might use [^. ] instead of
\w, but Pascal (as usual) seems to have the right of it.

--Ben

Pascal Peters wrote:

> \{\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