regex-guard/regex-guard (packagist): A wrapper that allows you to validate regular expressions and handle normally uncatchable PCRE compilation warnings
Keywords: utils|support|regex|PCRE|preg|regexp