Re: Aplescript for changing case (again)
Re: Aplescript for changing case (again)
- Subject: Re: Aplescript for changing case (again)
- From: "Arthur J Knapp" <email@hidden>
- Date: Wed, 10 Jan 2001 13:45:45 -0500
>
Date: Wed, 10 Jan 2001 14:57:15 +0100
>
From: =?iso-8859-1?Q?=22H=E5vard=2C_Inkognito=22?= <email@hidden>
>
Subject: Re: Aplescript for changing case (again)
>
... The wonderful OSAX RegEx Commands however does handle accented
>
characters correctly. And its fast. Free and available from
>
<http://www.lazerware.com/software.html>.
>
change to UPPER:
>
REReplace theText pattern ".*" with "\\u&"
>
change to lower:
>
REReplace theText pattern ".*" with "\\l&"
BBEdit 6.0 now supports \u \U \l \L and \E for case changing
operations in it's regular expressions.
\u = next character to uppercase
\U = all following characters to uppercase
\l = next character to lowercase
\L = all following characters to lowercase
\E = end \U or \L
BBEdit has also greatly improved it's scriptable searching
capabilities.
>
Havard
< Yale
--
{
Arthur J Knapp, of STELLARViSIONs ;
http://www.STELLARViSIONs.com ;
mailto:email@hidden ;
how many?
zero.
are you sure?
i counted twice.
}