'report' =~ /$input/;
will match $input = 'r', 're',...'report'.
I need a quantifer like {MIN,} for cases like:
'report' =~ /$input/;
'resolve' =~ /$input/;
But I don't know how to use a quantifer on a variable.
i.e /$input{MIN,MAX}/. Can this be done some kind of way?
will match $input = 'r', 're',...'report'.
I need a quantifer like {MIN,} for cases like:
'report' =~ /$input/;
'resolve' =~ /$input/;
But I don't know how to use a quantifer on a variable.
i.e /$input{MIN,MAX}/. Can this be done some kind of way?