part of test for regexp