in reply to Re^2: Regex helpin thread Regex help
$ perl -Mre=debug -e 'my $x= "*"; /\Q$x.+/'
Compiling REx "\*\.\+"
1: EXACT <*.+> (3)
3: END (0)
anchored "*.+" at 0 (checking anchored isall) minlen 3
Freeing REx: "\*\.\+"
Use /\Q$variable/ except if that's not the entire regexp pattern. You probably have to use /\Q$variable\E/ then.
There is no Extraterrestrial life
There aren't any suitably capable Extraterrestrials
Interstellar travel is too difficult
We're too uncool / not worth the trouble
What do you mean they haven't visited?
Results (480 votes). Check out past polls.