RE: Substitution formats

2002-01-20 Thread Gary Hawkins
I'm a big fan of s###. Easy for me to read. /g > -Original Message- > From: Troy May [mailto:[EMAIL PROTECTED]] > Sent: Saturday, January 19, 2002 11:45 PM > To: Perl Beginners > Subject: Substitution formats > > > Hello, > > I only knew of one way to do them: s/// > > But japhy on

Re: Substitution formats

2002-01-20 Thread Jeff 'japhy' Pinyan
On Jan 19, Troy May said: >I've tried some other formats with brackets, parenthesis, etc. Nothing else >works. You've done something wrong, then. If you use <, {, (, or [, you match it up with its mirror image, >, }, ), or ]. Any other NON-word NON-whitespace character can be used, and is mat