Fixed wrong character range in preg pattern in slugify function
Fixed following warning:
Warning: preg_replace(): Compilation failed: invalid range in character class at offset 12 {"exception":"[object] (ErrorException(code: 0): Warning: preg_replace(): Compilation failed: invalid range in character class at offset 12 at vendor/danielstjules/stringy/src/Stringy.php:1174)"} []
Same.
Unfortunately this is blocking us from updating to php 7.3
We pushed an official fork of Stringy to Packagist with this fix because it was a pretty big deal for Statamic. Feel free to use it, we'll keep it supported as long as this repo stays a ghost town.
https://packagist.org/packages/statamic/stringy https://github.com/statamic/Stringy