danielstjules / Stringy

A PHP string manipulation library with multibyte support
MIT License
2.46k stars 216 forks source link

hyphen need to be escaped #201

Open ldbglobe opened 4 years ago

ldbglobe commented 4 years ago

Prevent some warning since PHP 7.3

ShawnMcCool commented 4 years ago

Is there a reason that this hasn't been merged, @danielstjules ?

This instantly fixes an important problem that I have where I cannot use Slugify.

droath commented 4 years ago

Is there any chance on getting this issue resolved? I've provided information about what has changed in 7.3 that is causing this error to be thrown.

https://stackoverflow.com/questions/24764212/preg-match-compilation-failed-invalid-range-in-character-class-at-offset