Checks if the pattern itself is valid (as in, will not crash the client). The client's own checks are currently slightly flawed and allow for crashes to occur in one particular manner.
whether the pattern is valid