From dbae2e6a3c1cde25e7f83079ca5a284ddeb29c56 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Mon, 1 Jul 2013 14:02:09 +0000 Subject: test sequential pattern application in ::replace --- tests/it.t | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/it.t b/tests/it.t index ffce004..3b69072 100755 --- a/tests/it.t +++ b/tests/it.t @@ -305,6 +305,7 @@ is(it::replace(array('#' => "!", '\w' => "x"), "#ö"), "!x"); is(it::replace(array('ö' => "x"), "Ö"), "x"); is(it::replace(array('a' => "1"), "aaa", array('limit' => 1)), "1aa"); is(it::replace(array('\s' => "x"), it_html::entity_decode(" ")), "x", "match non-breaking space as white-space character"); +is(it::replace(array('a' => "b", 'b' => "c"), "a"), "c"); is(it::grep('ismatch', array('ismatch', 'isnomatch')), array('ismatch'), 'grep with simple regex'); is(it::grep('!', array('ismatch!', 'isnomatch')), array('ismatch!'), '! in regex'); -- cgit v1.2.3