Build, test, and debug regular expressions
This regular expression matches C++ raw string literals (R-strings), including those with custom delimiters. It captures the optional delimiter in a named group and uses a backreference to ensure the closing delimiter perfectly matches the opening one. The pattern is designed to handle multiline content, making it ideal for C++ syntax highlighting, linting, or source code parsing tasks.