Regular Expression part 2
Ton Kuypers
tkuypers at dmp-int.com
Wed Aug 9 10:13:03 EDT 2006
I have found a regular Expression which does exactly what I need and
it works in BBedit but not in RR...
What am I doing wrong?
The script:
ON mouseUp
put "1" & cr & "1" & cr & "1" & cr & "4" & cr & "4" & cr &
"6" & cr & "10" & cr & "10" & cr & "33" into vData
put "^(.*)(" & cr & "\1)+$" into vSearch
put "\1" into vReplace
put replaceText(vData,vSearch,vReplace) into vData
put vData
END mouseUp
vData is the same with and without the regex...
HELPPPPPPP :-(
Warm regards,
Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com
More information about the use-livecode
mailing list