fixed 3 test failures when perl 5.18.0 was used to run the (PCRE) test suite. thanks Reini Urban for reporting this in github issue #3.