Skip navigation
ax1e2l_b3r4a5s6s
Currently Being Moderated

applescript - grep

Aug 6, 2012 11:31 AM

I'm trying to use grep to find , literally,

 

"\psz"

 

in the string

 

"ipsum lorem yada yda \psz 6p% drago indigato blah blah

 

set find what of find grep preferences to "\psz"

 

doesn't work.  Doesn't compile, nor would I expect it to

 

 

set find what of find grep preferences to "\\psz"

 

doesn't work.  Probably something to do with quoting the \\.

 

used find grep a fair amount, first time I've searched for a \ in a string.


 

Anyone have any suggestions on this, please?

 

Thank you in advance for your help.

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points