@estraviz/

TrustingOrganicCrayfish

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
import re
pattern = r"(a)(b(?:c)(d)(?:e))"
pattern2 = r"(a)(b(c)(d)(e))"
match = re.match(pattern2, "abcde")
print(match.groups())
print(len(match.groups()))