more regexp handling