| Use Case | Command / Expression | Description |
|---|---|---|
| 🐛 Catch regex syntax errors | Regexp::Syntax::SyntaxError |
Raised when a regex pattern contains invalid syntax during parsing. |
| 🛠️ Custom error handling | rescue Regexp::Syntax::SyntaxError ⇒ e |
Gracefully handle malformed regex patterns in user input. |
| 🔍 Inspect parse errors | e.message |
Retrieve the specific error message describing the syntax issue. |
📂 Also found in: /home/chedong/.local/share/rdoc
Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-29 18:27 @216.73.216.250
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format