🐯regex golf answer. https://alf.nu/RegexGolf
Level | Answer | Length | Forget Number |
---|---|---|---|
Warmup | 🙈foo |
3 | |
Anchors | 🙈k$ |
2 | |
It never ends | 🙈u\b |
3 | |
Ranges | 🙈^[a-f]*$ |
8 | |
Backrefs | 🙈(...).*\1 |
9 | |
Abba | 🙈^(?!.*(.)(.)\2\1) |
17 | 😿 +2 |
A man, a plan | 🙈^(.)(.).*\2\1$ |
14 | |
A man, a plan | 🙈^(.)[^p].*\1$ |
13 |