Forgot the ending } when finishing a pattern, the code just hung. I would expect an error message when this happens.