This repository has been archived by the owner on Apr 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In certain environments (such as http://sandbox.onlinephpfunctions.com/), `preg_match` complains if the pattern string contains a newline after the pattern modifiers. Using a nowdoc suppresses the end-of-string newline. ``` Warning: preg_match(): Unknown modifier ' ' ``` No tests are being included with this fix because I could not reproduce the error in the Docker or Travis CI environments. Resolves #61
- Loading branch information
Showing
1 changed file
with
26 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters