--- david <[EMAIL PROTECTED]> 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$/;
m/^(\d+)abcd$1$/; # :) > david > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]