fix regex for skipped function