Build, test, and debug regular expressions
This regular expression matches code that throws a `UserException` using a single-quoted string argument. It captures the exact string content passed into the exception constructor within the parentheses. This is highly useful for refactoring code, such as changing single quotes to double quotes, or for extracting and analyzing error messages across a codebase.