in reply to Re^3: regex finding longest string containing n of $cin thread regex finding shortest string containing n of $c