diff --git a/reporters_db/data/laws.json b/reporters_db/data/laws.json index 44d3077..1230d7d 100644 --- a/reporters_db/data/laws.json +++ b/reporters_db/data/laws.json @@ -5534,12 +5534,15 @@ "1 U.S.C. sec. 1", "1 U.S.C. Sections 1-2", "1 USC S. 1-2", - "1 U.S. Code §1" + "1 U.S. Code §1", + "21, United States Code, Section 853", + "18, United States Code, Section 3500", + "18, United States Code, Section 981(a)(l)(C)" ], "jurisdiction": "United States", "name": "United States Code; United States Code Annotated; United States Code Service; Gould’s United States Code Unannotated", "regexes": [ - "(?P\\d+)\\s+$reporter\\s+$section_marker\\s*$law_section" + "(?P<title>\\d+),?\\s+$reporter,?\\s+$section_marker\\s*$law_section" ], "start": null, "variations": [ @@ -5548,7 +5551,8 @@ "U.S.C.A.", "U.S.C.S.", "U.S.C.U.", - "U.S. Code" + "U.S. Code", + "United States Code" ] } ], diff --git a/reporters_db/data/regexes.json b/reporters_db/data/regexes.json index 8ee32e8..7b4bfdd 100644 --- a/reporters_db/data/regexes.json +++ b/reporters_db/data/regexes.json @@ -35,8 +35,8 @@ "#": "Regexes used in laws.json", "day": "(?P<day>\\d{1,2}),?", "month": "(?P<month>[A-Z][a-z]+\\.?)", - "section": "(?P<section>\\d+(?:[\\-.:]\\d+){,3})", - "section#": "Section like 1-2-3, 1.2.3, or 1:2-3.4", + "section": "(?P<section>(?:\\d+(?:[\\-.:]\\d+){,3})|(?:\\d+(?:\\((?:[a-zA-Z]{1}|\\d{1,2})\\))+))", + "section#": "Section like 1-2-3, 1.2.3, or 1:2-3.4 or 81(a)(2)(F) or 81(a)", "subject": "(?P<subject>$law_subject_word(?: $law_subject_word| &){,4})", "subject#": "One to five word statute subject like 'Parks Rec. & Hist. Preserv.', 'Not-for-Profit Corp.', 'Alt. County Gov’t', 'R.R.'", "subject_word": "[A-Z][.\\-'A-Za-z]*",