From b953a85d2c294f829138a77ba0e020cfd6c2921b Mon Sep 17 00:00:00 2001 From: "Daniel St. Jules" Date: Sat, 19 Mar 2016 17:57:04 -0700 Subject: [PATCH] Add capture group test to regexReplaceProvider --- tests/StringyTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/StringyTest.php b/tests/StringyTest.php index d80676a..d538770 100644 --- a/tests/StringyTest.php +++ b/tests/StringyTest.php @@ -2372,6 +2372,7 @@ class StringyTestCase extends PHPUnit_Framework_TestCase array('foo', 'bar', '[[:alpha:]]{3}', 'foo'), array('', '', '', '', 'msr', 'UTF-8'), array('bàř', 'fòô ', 'f[òô]+\s', 'bàř', 'msr', 'UTF-8'), + array('fòô', 'fò', '(ò)', '\\1ô', 'msr', 'UTF-8'), array('fòô', 'bàř', '[[:alpha:]]{3}', 'fòô', 'msr', 'UTF-8') ); }