I'm learning regex re.match recently, here's the code:
re.match(r"^[a-z]{2}\d{2}$", something), my understanding is:
[a-z]{2} matches two lower letters
Then what does the rest \d{2}$ mean? Thanks.
I'm learning regex re.match recently, here's the code:
re.match(r"^[a-z]{2}\d{2}$", something), my understanding is:
[a-z]{2} matches two lower letters
Then what does the rest \d{2}$ mean? Thanks.