Cleaning Tex Edit +
Cleaning Tex Edit +
- Subject: Cleaning Tex Edit +
- From: Bernard Azancot <email@hidden>
- Date: Sun, 30 Nov 2003 18:17:16 +0100
I want to replace every double CR by a single one, in one script pass.
CR-CR -> CR
CR-CR-CR-> CR
CR-CR-CR-CR-> CR
etc.
I have tried unsucessfully :
--
replace looking for "^c^*^c" replacing with "^c"
--
replace looking for "<^c>^*<^c>" replacing with "^c"
--
replace looking for "<^c><^*><^c>" replacing with "^c"
--
When I try:
--
replace looking for "^c^c" replacing with "^c"
--
the replacement is made, but concerns only double CR (CR-CR -> CR), not
mulptiple ones (CR-CR-CR-CR-> CR).
I have to launch the script n times to replace all double CR.
Thanks for your help.
BA
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.