ahhh, thanks. Yes, that makes sense now. after reading up on the 'uc' function, I have now got my program to work as required.
Thanks to all for their input. Ged. > > From: Sudarshan Raghavan <[EMAIL PROTECTED]> > Date: 2003/07/24 Thu AM 08:43:55 GMT > To: [EMAIL PROTECTED] > Subject: Re: modifing and writing to a file > > NYIMI Jose (BMB) wrote: > > >s/a-z/A-Z/g should be s/[a-z]/[A-Z]/g; > > > > Character classes are only possible in the matching part of the regex, > not in the replacement part. You regex says substitute all occurences of > a lowercase alphabet with the string '[A-Z]' > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > ----------------------------------------- Email provided by http://www.ntlhome.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]