On Jul 23, dan said:
i wasn't planning on using ? to match a single character, i figured that
would be getting too complicated. how would that be done anyway? i must say
my regex skills aren't very good :/
The ? metacharacter would map to Perl's . regex metacharacter.
$temp1 =~ s{([^\w\s]
this worked a treat. thank you so much.
i wasn't planning on using ? to match a single character, i figured that
would be getting too complicated. how would that be done anyway? i must say
my regex skills aren't very good :/
dan
"Jeff 'japhy' Pinyan" <[EMAIL PROTECTED]> wrote in message
news:[EMA
On Jul 22, dan said:
the wildcard search could be anything like an exact match with no wildcards
in, or a proper wildcarded search. such as:
*.co.uk
someones.hostname.com
Do you plan on allowing the '?' wildcard to match any single character?
Just curious how robust this should be.
sub wcm
dan wrote:
> hi
Hello,
> i have a bit of a puzzling question. well, puzzling to me anyway.
> i have a sub which is passed 2 arguments. a wildcard search, and an actual
> string to search in.
> the wildcard search could be anything like an exact match with no wildcards
> in, or a proper wildcarded
Excellent, worked brilliantly. Cheers
Dan
"Rob Dixon" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Dan wrote:
> > Hi
> >
> > I'm not entirely sure if this is possible, but I'm going to ask anyway
> > (after all I'm not an *expert* on perl, you always learn something
> > new).
> >
Dan wrote:
> Hi
>
> I'm not entirely sure if this is possible, but I'm going to ask anyway
> (after all I'm not an *expert* on perl, you always learn something
> new).
>
> Is is possible to match:
> [EMAIL PROTECTED] with [EMAIL PROTECTED] ?
Hi Dan.
For this particular case you can convert the gl