regex-log
Installation
SKILL.md
Regex Log Parsing Skill
This skill provides a systematic approach for constructing complex regular expressions that extract and validate structured data from log files.
When to Use This Skill
This skill applies when:
- Building regex patterns to extract data from log entries
- Validating specific formats (IPv4 addresses, dates, timestamps) within logs
- Handling requirements for first/last occurrence selection
- Enforcing word boundary conditions
- Combining multiple validation constraints in a single pattern
Approach: Decomposition Strategy
Complex log parsing regex should be built by decomposing the problem into sub-patterns: