in reply to Matching * in a pattern

You might want to try the g flag, as it does a global match. More details would help.
HTH
$a =~ /\*/g;
I've been informed by turnstep that this is not correct, please disregard.
Thanks,
Steve