From 41fcc434467020b59b2a9e587086c56b34ef61a3 Mon Sep 17 00:00:00 2001 From: Steph Date: Thu, 1 Dec 2022 21:02:00 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20Added=20a=20nice=20regex=20for?= =?UTF-8?q?=20part=20two?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 2020/4/regexes.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 2020/4/regexes.txt diff --git a/2020/4/regexes.txt b/2020/4/regexes.txt new file mode 100644 index 0000000..dacaf67 --- /dev/null +++ b/2020/4/regexes.txt @@ -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:.*