in reply to Re: I think regex Should Help Here... but How!?in thread I think regex Should Help Here... but How!?
This from ozboomer's OP
if ($str =~ /^$buf/i) { ... }