=~ (equal-sign tilde) and m" ... " in .htaccess directive
- by Lèse majesté
I saw this bit of code on an old forum post:
SSLRequire %{HTTP_HOST} =~ m"\.secure\.powweb\.com"
And I was just wondering what the =~ and m" ... " meant. I've been searching online and in the Apache documentation for any mention of the equal-sign tilde operator, but I've found no mention of it. I know that some directives can take a tilde to use a regular expression, but I've never seen the m" ... " form used before.
What exactly is that m" ... " for? Where else would you see this form?