Updated regexp to validate iso 8601 period format