From: Nikola Janceski <[EMAIL PROTECTED]>
> I want to convert a bunch of strings to regexs but I want all special
> characters to be interpreted as themselves literally. so . will be \.
> and * will \*.
>
> so what do I need to change here:
>
> my @idl_object_ext = map { qr/$_/ }
> qw( _g.h s_g.cc c_g.cc );
my @idl_object_ext
= map { qr/\Q$_\E/ } qw( _g.h s_g.cc c_g.cc );
HTH, Jenda
=========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain
I can't find it.
--- me
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]