[thelist] Regex apostrophe problem

Anthony Ettinger apwebdesign at yahoo.com
Fri Aug 19 03:53:01 CDT 2005


> > 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.

No idea what that is, but if it supports regex syntax,
the 2nd solution should work.

Anthony Ettinger
ph: (408) 656-2473
blog: http://www.chovy.com


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


More information about the thelist mailing list