1--TEST-- 2Bug #81101 - Invalid single character repetition issues in JIT 3--FILE-- 4<?php 5 6$matches = []; 7$test = ' App\Domain\Repository\MetaData\SomethingRepositoryInterface'; 8 9preg_match('/\\\\([^\\\\]+)\s*$/', $test, $matches); 10var_dump($matches); 11 12$test2 = ' App\Domain\Exception\NotFoundException'; 13 14preg_match('/\\\\([^\\\\]+)\s*$/', $test2, $matches); 15var_dump($matches); 16 17?> 18--EXPECT-- 19array(2) { 20 [0]=> 21 string(29) "\SomethingRepositoryInterface" 22 [1]=> 23 string(28) "SomethingRepositoryInterface" 24} 25array(2) { 26 [0]=> 27 string(18) "\NotFoundException" 28 [1]=> 29 string(17) "NotFoundException" 30} 31