Checking of matching with right answer by regexp instead
of substring search