|
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
rematchnocase not working
I have my script working locally, which is cf8, but when I upload to crystaltech, i get this:Matthew Smith 09/06/08 05:57 P REMatch was added in CF 8, so your stuck on CF 7. However, you shouldBarney Boisvert 09/06/08 06:35 P Use REFindNoCase() for CF7. Note the differences in syntax.Dawson, Michael 09/06/08 06:55 P > Use REFindNoCase() for CF7. Note the differences in syntax.Matthew Smith 09/07/08 10:35 A 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? 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 ----- 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? > 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.
|
Mailing Lists
|
Latest Fusion Authority Articles
|
||||||