🚧 Added a nice regex for part two

This commit is contained in:
Steph 2022-12-01 21:02:00 +01:00
parent c54bcf38bd
commit 41fcc43446

1
2020/4/regexes.txt Normal file
View File

@ -0,0 +1 @@
pid:\d{9}|byr:(19[2-9]\d|200[0-2])|iyr:20(1\d|20)|eyr:20(2\d|30)|hgt:((59|6\d|7[0-6])in|(1[5-8]\d|19[0-3])cm)|hcl:#[[:xdigit:]]{6}|ecl:(amb|blu|brn|gry|grn|hzl|oth)|pid:\d{9}|cid:.*