array( array("\\\\\\\\/:", "\\\\Q\\\\/:\\\\E") ), // The expression []{}%#'" should be treated as a list of invalid characters, however the [] is special in PREG so // we use \Q and \E to have PREG treat them as literal characters "ada" => array( array("[]{}%#'\\\"", "\\\\Q[]{}%#'\\\"\\\\E") ), // The `-` character must be escaped in while in `[]`. This is enforced in PHP 7.3+ // https://wiki.php.net/rfc/pcre2-migration // https://github.com/php/php-src/pull/2857 "dsconfig" => array( array("[\\\\w-?]", "[\\\\w\\\\-?]") ), // WTF, any ideas anyone? "mercury" => array(array("\\\\\\\/", "\\\\\\\\\\\/")), // The expression [^] is not allowed in PREG "lisp" => array(array("[^]", "[^|]")), // Same reason as dsconfig "xquery" => array( array("[\\\\w-:]+","[\\\\w\\\\-:]+") ), ); for ($i=0; $i