Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed wrong character range in preg pattern in slugify function #192

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fixed wrong character range in preg pattern in slugify function #192

wants to merge 1 commit into from

Conversation

unti1x
Copy link

@unti1x unti1x commented Dec 21, 2018

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)"} []

Copy link

@lukasz-schab lukasz-schab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just came in to propose the same amendment.

@jackmcdade
Copy link

Same.

@rrelmy
Copy link

rrelmy commented Jan 9, 2019

Unfortunately this is blocking us from updating to php 7.3

@jackmcdade
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants