regular expressions: explaining and debugging a regex
When to use
Use this skill for explaining and debugging a regex in regular expressions. This skill specifically handles explaining and debugging a regex and nothing else in the regular expressions family.
Procedure
Break down an existing regex token by token and explain what it matches and why it fails.
Notes
This is the regular expressions skill dedicated to explaining and debugging a regex. Sibling skills cover other regular expressions capabilities; this one is the right choice only when the task is about explaining and debugging a regex.