• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cleaning Tex Edit +
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Cleaning Tex Edit +
      • From: Christopher Nebel <email@hidden>
    • Re: Cleaning Tex Edit +
      • From: MaryT <email@hidden>
  • Prev by Date: Re: a handler runs after compile, but never again
  • Next by Date: Re: a handler runs after compile, but never again
  • Previous by thread: Re: a handler runs after compile, but never again ->> same variable name in the handler as the name of the handler
  • Next by thread: Re: Cleaning Tex Edit +
  • Index(es):
    • Date
    • Thread