simple regexp with unit tests added