Paul wrote: >> >> there are lots of ways but how can you beat :-) >> >> s/^(\d+)abcd\1$/; > > m/^(\d+)abcd$1$/; # :) >
and you just get yourself a bug. $1 is not populated after the search. $1 always holds undef. david -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]