This chapter doesn't contain
PHP code snippets, because PHP PCRE doesn't provide a way to validate patterns.
You can check whether a pattern is valid with
pattern()->valid() doesn't throw any exception nor issues any warnings. It only returns
Undelimited patterns can be validated with
Pattern::of(). To validate old-school patterns (e.g.