in reply to Simple regex related problem

$string =~ /^(\t*)/; $number_of_initial_tabs=length($1);

-- 
Ronald Fischer <ynnor@mm.st>