language differences.
_____
From: Josen Ruiseco [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 1:27 PM
To: CF-Talk
Subject: RegEx Problem Trying to Use Matched Text
I am trying to follow the regex example on page 82 of Ben Forta's "regular
Expressions in 10 Minutes" book. The example does a simple replace using
matched text and reReplaceNoCase().
<cfset newString = "[EMAIL PROTECTED]">
#newString#<br>
<cfset newString = reReplaceNoCase(newString, "([EMAIL PROTECTED])",
"<a href=""> #newString#<br>
The problem is that it doesn't seem to replace the matched text when using
the $1.
Am I missing something here?
Josen
GoMotorsBids.com
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

