Skip to content

Conversation

@stollr
Copy link

@stollr stollr commented Oct 1, 2019

Since PHP 7.3 the regular expression ([\\\/.:_;,\s-\ ]{1}) triggers the warning preg_split(): Compilation failed: invalid range in character class at offset 11. The range operator '-' has to be escaped, because \s-\ is not a valid range.

Since PHP 7.3 the regular expression `([\\\/.:_;,\s-\ ]{1})` triggers the warning `preg_split(): Compilation failed: invalid range in character class at offset 11`. The range operator '-' has to be escaped, because `\s-\ ` is not a valid range.
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.

1 participant