in reply to Re^5: search of a string in another string with 1 wildcard
in thread search of a string in another string with 1 wildcard
How to add + and space to the construct? So instead of
my $pattern = qr{ab[crdnfqm]def}; my $pattern = qr{ab[crdnfqm\+\s]def};
will be correct? to be used with your solution
if $string =~ m{ ($pattern) };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: search of a string in another string with 1 wildcard
by AnomalousMonk (Archbishop) on Oct 15, 2014 at 14:58 UTC |