diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/it.t | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -210,7 +210,10 @@ is( "test all=>1,pattern_order=>1" ); +is(it::replace(array('a' => "1", 'b' => "2"), "ab"), "12"); +is(it::replace(array('!' => "x"), "!"), "x"); is(it::replace(array('\w' => "x"), "o�"), "xx"); +is(it::replace(array('[[:alpha:]]' => "x"), "�"), "x"); is(it::replace(array('\w' => "x", '#' => "!"), "#�"), "!x"); is(it::replace(array('#' => "!", '\w' => "x"), "#�"), "!x"); is(it::replace(array('�' => "x"), "�"), "x"); |