php-scoper
php-scoper copied to clipboard
Rejects _ as a valid regex delimiter, fixes issue #666.
This is one way to fix issue #666 which is related to #597.
Alternatively it could be implemented by rejecting empty regex. However, there appears to be a test to explicitly accept empty regex so it made sense to simply reject _ as a delimiter altogether.