level
int64
1
6
regex
stringlengths
7
94
public_description
stringlengths
6
67
hidden_tests
dict
1
^\d{2}-\d{2}-\d{2}$
a short date
{ "match": [ "24-01-15", "99-12-31", "24-01-16", "24-01-11", "74-07-16", "24-01-21", "74-27-16", "24-71-21", "22-01-06", "23-01-11", "24-01-25", "24-01-22", "96-12-31", "24-01-13", "74-01-16", "24-06-13", "74-07-12", "24-01-56", "24-71-25", ...
1
^[A-Z]{3}\d{2}$
a seat code
{ "match": [ "ABC12", "XYZ07", "ABC16", "UYZ07", "ABC92", "ABC82", "VKC82", "ABJ12", "ABE16", "ABC62", "XBE16", "ADC92", "CBC95", "AHC92", "AXW92", "UBC95", "AXC95", "ALW92", "AEJ12", "WBC92" ], "no_match": [ "AB12", "ABC1", ...
2
^[a-z]+-\d+$
a kebab id with a number
{ "match": [ "item-42", "node-1", "itvm-42", "item-82", "hode-1", "ifvm-42", "itmm-42", "node-6", "itqm-49", "itmm-82", "itmx-86", "itxm-82", "fodi-1", "itsx-86", "itxn-83", "hole-1", "itqm-82", "hoce-1", "itew-42", "itcl-42" ], "no_m...
2
^@[a-z0-9]+$
a lowercase mention
{ "match": [ "@bob", "@user42", "@wob", "@uzer42", "@wqb", "@wkr", "@rxr", "@yzsr42", "@urer42", "@wqg", "@uter42", "@uier42", "@vob", "@uxer42", "@wqi", "@urrr42", "@ylsr92", "@rxu", "@ubez42", "@byb" ], "no_match": [ "@Bob", ...
2
^\d+kg$
a weight in kilograms
{ "match": [ "5kg", "100kg", "150kg", "809kg", "103kg", "105kg", "050kg", "550kg", "102kg", "352kg", "179kg", "040kg", "359kg", "579kg", "107kg", "002kg", "479kg", "559kg", "161kg", "113kg" ], "no_match": [ "5KG", "5 kg", ...
3
^(in|out|via)-[a-z]{3}$
a routing tag
{ "match": [ "in-abc", "out-xyz", "via-jfk", "out-eyz", "via-jyk", "out-qoz", "out-qwz", "via-jfl", "out-ayz", "out-kyc", "out-qnz", "out-ayt", "out-klc", "out-kwz", "in-anc", "out-ahz", "out-aya", "out-wnz", "via-jhy", "out-qwp" ], "...
5
^\d{5}-\d{4}$
a ZIP+4 code
{ "match": [ "90210-1234", "10001-0001", "17001-9001", "80007-0001", "90710-1238", "30710-1238", "17001-9007", "10004-9001", "50710-1278", "10710-1238", "90710-8238", "17001-3001", "90710-5238", "94712-5238", "90316-1238", "90210-1238", "10001-3001",...
5
^[A-Z]{2}\d{9}[A-Z]{2}$
a shipment tracking number
{ "match": [ "RA123456789US", "LZ000111222GB", "LZ000111222MB", "RA122956789US", "RA123456789UO", "LZ500111222GB", "RA123456789UX", "LZ000112222GB", "AZ000112222GH", "RA126956789US", "LC507111222GB", "CC507711222GB", "RA122956789UY", "LZ000512222GB", "RA1229...
1
^[A-Z]\d{3}$
a short code
{ "match": [ "A123", "Z999", "A163", "A133", "A021", "J163", "A183", "G733", "G838", "A167", "G808", "A182", "P163", "A139", "A243", "Z172", "G038", "G888", "W243", "P863" ], "no_match": [ "a123", "A12", "A1234", "AA12...
1
^\d{6}$
a six-digit code
{ "match": [ "123456", "000000", "200600", "128456", "200606", "153456", "198456", "228496", "188486", "123459", "080000", "929456", "929756", "124457", "153416", "124459", "000600", "188686", "223259", "153916" ], "no_match": [ "...
2
^\d+ms$
a duration in milliseconds
{ "match": [ "100ms", "5ms", "140ms", "0ms", "190ms", "3ms", "240ms", "690ms", "640ms", "049ms", "691ms", "391ms", "607ms", "660ms", "678ms", "079ms", "407ms", "248ms", "760ms", "294ms" ], "no_match": [ "100MS", "100 ms", ...
2
^[a-z]{2,8}\d?$
a short word with an optional trailing digit
{ "match": [ "cat", "hello9", "tag", "cav", "heubo9", "heuxo9", "jtv", "ftv", "txg", "caq", "mtv", "aae", "pat", "pua", "awe", "osv", "pek", "twe", "hfuko9", "meo" ], "no_match": [ "Cat", "cat99", "123", "c", "twe-...
5
^[A-Z]{3}\d{3}[A-Z]{2}$
a parcel code
{ "match": [ "ABC123XY", "QRS999ZZ", "ABC153XY", "ABL153XO", "ABL156XO", "ABL353XO", "XBC123XX", "XSC128XX", "QNS999ZZ", "QNS299ZZ", "ABS353XO", "QRS299ZZ", "ABC157XO", "PBP157XO", "AHL353XO", "XSC128HX", "QRS279ZZ", "TBL143XO", "FBP157XM", ...