House of Fusion
Home of the ColdFusion Community

Search cf-talk

December 02, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31       

Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  ColdFusion Talk (CF-Talk)

rematchnocase not working

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Matthew Smith
09/06/2008 05:57 PM

I have my script working locally, which is cf8, but when I upload to crystaltech, i get this: Variable REMATCHNOCASE is undefined. This is the code it points to: <cfset votearray = rematchnocase("[0-9]+",detail)> Is there any way I can get this working on cf 7?

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Barney Boisvert
09/06/2008 06:35 PM

REMatch was added in CF 8, so your stuck on CF 7.  However, you should be able to synthesize it with REFind. cheers, barneyb ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dawson, Michael
09/06/2008 06:55 PM

Use REFindNoCase() for CF7.  Note the differences in syntax. mike   _____ Sent: Sat 9/6/2008 4:51 PM To: CF-Talk Subject: rematchnocase not working I have my script working locally, which is cf8, but when I upload to crystaltech, i get this: Variable REMATCHNOCASE is undefined. This is the code it points to: <cfset votearray = rematchnocase("[0-9]+",detail)> Is there any way I can get this working on cf 7?

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Matthew Smith
09/07/2008 10:35 AM

> Use REFindNoCase() for CF7.  Note the differences in syntax. > > mike >    I have it working now.  It took a LOT more code to do something that CF8 did in one line, and it is not a perfect solution, but it should work.  Thank you both for the help.


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists