search regexp in stdin