2010-06-11 メタ文字エスケープ PHP Perl PHP・Perl共通 string quotemeta ( string $str ) 文字列 str について、 . \ + * ? [ ^ ] ( $ ) の前にバックスラッシュ文字 (\) でクォートして返します。