ToolPandaToolPanda

Regex from Examples

Generate a regex from match and reject examples.

Create a regex that matches these examples: [MATCHES] and rejects: [REJECTS]. Explain capture groups briefly.