[thelist] Regex apostrophe problem
fstorr
fffrancis at fstorr.demon.co.uk
Fri Aug 19 03:17:48 CDT 2005
On 18 Aug, 2005, at 21:52, Anthony wrote:
> What language?
>
> Perl has functions for uppercase and lowercase:
>
> uc($text) and a lc($text) function, which should
> already ignore special characters.
>
> If you must use regexp:
>
> $lower =~ s/(\w)(\w+)/\u$1\L$2/sig;
>
Hi
I'm using the Grep utilities within TextWrangler to do find+replace
in a few huge files.
regards
F
More information about the thelist
mailing list