The back-reference variables (\1, etc.) can't be used as a value of a
ColdFusion function within a RE tag.

On Dec 3, 2007 10:42 PM, Johnny Le <[EMAIL PROTECTED]> wrote:

> I tried to do this:
>
> <cfset thestring = "user.list&id={id}&username={username}"/>
> <cfset reReplace(thestring,'\w*{(\w+)}','#qryUser[\1]#','all')/>
>
> but I got an error.  Is it possible to use \1 as a variable?  I even tried
> '#evaluate("qryUser[\1]")# but it doesn't work.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294133
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to