원클릭으로
regex-puzzles-skill
Construct correct regular expressions for common text matching and validation challenges.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Construct correct regular expressions for common text matching and validation challenges.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Debug common SQL query errors by identifying anti-patterns and applying targeted fixes.
Teaches agents how to use the skillforge CLI to distill procedural skills from model traces.
Debug common Python runtime errors by reading tracebacks and applying targeted fixes.
| name | regex-puzzles-skill |
| description | Construct correct regular expressions for common text matching and validation challenges. |
| version | 0.1.0 |
| source_model | mock-strong |
| extracted_from | {"total_traces":10,"passed_traces":10,"failed_traces":0,"extractor":"manual@0.1","extracted_at":"2026-01-01T00:00:00Z"} |
| triggers | ["regex","pattern","match","validate"] |
| domains | ["regex-puzzles"] |
| license | Apache-2.0 |
Apply this skill when you need to construct or debug a regular expression for text matching, validation, or extraction. Covers: IPv4 addresses, email validation, phone extraction, password strength lookaheads, non-greedy quantifiers, named groups, backreferences, negated character classes, anchors, and Unicode properties.
(25[0-5]|2[0-4]\d|[01]?\d\d?) separated by \.[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}\(?\d{3}\)?[-.\s]?\d{3}[-.\s]?\d{4}(?=.*[A-Z])(?=.*\d)(?=.*[!@#$%]) before .{8,}.*? instead of .* to match shortest possible(?P<name>...) syntax for readable captures(\w+) then match repeat with \1[^...] to exclude characters from a class^ and $ (with multiline flag if needed)\p{L} for any Unicode letterPattern: ^((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$
Pattern: ^(?=.*[A-Z])(?=.*\d)(?=.*[!@#$%^&*]).{8,}$
Pattern: \b(\w+)\s+\1\b
.* when you mean .*? — greedy matching causes over-capture. matches any character without escaping(a+)+) — causes catastrophic backtracking