Paul wrote: > Doesn't say it's deprecated, though. > Still, is there ever a time $1 won't work?
not sure. probably no. what i am thinking is how would you write a reg that reads: "start with a bunch of number, following by the string 'abcd', following by whatever the number that you are starting with"? there are lots of ways but how can you beat :-) s/^(\d+)abcd\1$/; david -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]