• 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
Re: Sorting? [sorted]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sorting? [sorted]


  • Subject: Re: Sorting? [sorted]
  • From: Reinhold Penner <email@hidden>
  • Date: Fri, 13 Sep 2002 09:55:25 -1000

JD,

in perl you can substitute "/" by a pipe. Since perl uses a lot of stuff that needs to be escaped, you will avoid the dreadful picket fence look at least to some extent. So in a match or substitute section, you can use this instead of slashes:

s|</font>| |gs;

which comes in real handy when you're dealing with paths or html stuff like above, since you won't have to escape the slashes.

-Reinhold

On Friday, Sep 13, 2002, at 08:55 Pacific/Honolulu, John Delacour wrote:

At 8:31 am -1000 13/9/02, Reinhold Penner wrote:

JD speaks; AppleScript surrenders.

I just wish, JD would adopt pipes instead of escaping all the slashes... It would make it so much easier to read.

JD would love to adopt pipes if Reinhold will show him how.
_______________________________________________
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.
_______________________________________________
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: Sorting? [sorted]
      • From: Christopher Nebel <email@hidden>
    • Re: Sorting? [sorted]
      • From: John Delacour <email@hidden>
References: 
 >Re: Sorting? [sorted] (From: John Delacour <email@hidden>)

  • Prev by Date: Re: Sorting? [sorted]
  • Next by Date: Re: Sorting? [sorted]
  • Previous by thread: Re: Sorting? [sorted]
  • Next by thread: Re: Sorting? [sorted]
  • Index(es):
    • Date
    • Thread