crayon-syntax-highlighter
crayon-syntax-highlighter copied to clipboard
Move hyphen in regexp for better compatibility
In some versions of PHP (and/or PCRE) the hyphen has to be escaped or moved at the end of the regexp class to be considered as the literal '-' character. More info: https://stackoverflow.com/questions/24764212/preg-match-compilation-failed-invalid-range-in-character-class-at-offset#comment38430767_24767090 Tested on Wordpress 5.3 with PHP 7.4.
Hi, I am a Github newbie.
Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in /Volumes/Macintosh HD - xxxxx/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 73
on PHP ver 7.4.2