Answers playing with Regex golf
problem | answer |
---|---|
Warmup | foo |
Anchors | k$ |
It never ends | u\b |
Ranges | ^[a-f]*$ |
Backrefs | (...).*\1 |
Reference:
正则表达式手册
Answers playing with Regex golf
problem | answer |
---|---|
Warmup | foo |
Anchors | k$ |
It never ends | u\b |
Ranges | ^[a-f]*$ |
Backrefs | (...).*\1 |
Reference:
正则表达式手册