=~ (equal-sign tilde) and m" ... " in .htaccess directive
        Posted  
        
            by 
                Lèse majesté
            
        on Pro Webmasters
        
        See other posts from Pro Webmasters
        
            or by Lèse majesté
        
        
        
        Published on 2011-02-08T05:28:35Z
        Indexed on 
            2011/02/08
            7:33 UTC
        
        
        Read the original article
        Hit count: 302
        
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?
© Pro Webmasters or respective owner