Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New reporters and new reporters variations #160

Open
wants to merge 32 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
f27bb7c
feat(variations): New variations for reporters
quevon24 Feb 8, 2023
093d694
feat(reporters): New reporters and reporters variations
quevon24 Feb 13, 2023
aac836a
feat(variations): Reporters variations
quevon24 Feb 13, 2023
fe0d55a
feat(reporters): New reporter and reporters variations
quevon24 Feb 14, 2023
37532e8
feat(reporters): New reporters variations
quevon24 Feb 14, 2023
afb2757
feat(reporters): New reporters and more reporters variations
quevon24 Feb 15, 2023
5ed9ab6
feat(reporters): Reporters variations from lexis data
quevon24 Feb 16, 2023
72a4c1f
feat(reporters): New reporters and variations from lexis data
quevon24 Feb 16, 2023
f67376f
feat(reporters): New reporters and variations from lexis data
quevon24 Feb 21, 2023
007f83b
feat(reporters): Reporters variations and new reporters
quevon24 Feb 22, 2023
c77c44c
feat(reporters): new reporters and reporters variations
quevon24 Feb 22, 2023
5ecac31
feat(reporters): new reporters and reporters variations
quevon24 Feb 22, 2023
f4f0128
feat(reporters): new reporters and reporters variations
quevon24 Feb 23, 2023
7bdb974
feat(reporters): new reporters and reporters variations
quevon24 Feb 23, 2023
4fa7f05
feat(reporters): new reporters and reporters variations
quevon24 Feb 23, 2023
7893bed
feat(reporters): new reporters and reporters variations
quevon24 Feb 24, 2023
74871e9
feat(reporters): new reporters
quevon24 Feb 24, 2023
b886835
feat(reporters): new reporters
quevon24 Feb 24, 2023
34effd4
feat(reporters): new reporters
quevon24 Feb 24, 2023
989195f
feat(reporters): new reporters and reporters variations
quevon24 Feb 24, 2023
6354531
fix(reporters): fix Internal Revenue Manual (CCH) reporter
quevon24 Feb 25, 2023
dec3f99
fix(reporters): update Am. Jur. and new reporters
quevon24 Feb 25, 2023
bb02dce
Merge remote-tracking branch 'origin/main' into west-citations-variat…
quevon24 Feb 27, 2023
8e9d5c0
feat(laws): Move reporters to laws, new in laws.json, update law sect…
quevon24 Feb 28, 2023
9d3af70
feat(laws): Move reporters to laws, update laws
quevon24 Feb 28, 2023
f6e4b69
feat(laws): Move reporters to laws
quevon24 Feb 28, 2023
4070b99
feat(laws): Move reporters to laws
quevon24 Feb 28, 2023
c132233
feat(laws): Move reporters to laws
quevon24 Feb 28, 2023
289937b
feat(laws): Move reporters to laws
quevon24 Mar 1, 2023
d8d79e3
refactor(reporters): Keep only reporters, remove new laws
quevon24 Mar 2, 2023
8462f3c
feat(regexes): Update page_with_letter regex
quevon24 Mar 2, 2023
bfa5592
fix(reporter): Correct reporter format
quevon24 Mar 2, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions reporters_db/data/regexes.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@
"#": "Standard citation",
"cch": "(?:$volume_with_digit_suffix )?$full_cite_paragraph",
"cch#": "Cite in CCH service format, like '1982-1 Trade Cas. (CCH) par. 64,689'",
"cch_suffix": "(?:$volume_with_digit_suffix )?$full_cite_paragraph_with_suffix",
"cch_suffix#": "Cite in CCH service format with suffix, like 'Pens. Plan Guide (CCH) P 24014F'",
"format_neutral": {
"": "$volume_year-$reporter-$page",
"#": "Format neutral cite, like '2000-Ohio-123'",
"3_4": "$volume_year-$reporter-$page_3_4",
"3_4#": "Format neutral cite where the page must be 3 or 4 digits, like '2000-NMSC-123'"
"": "$volume_year\\s?-$reporter-\\s?$page",
"#": "Format neutral cite, like '2000-Ohio-123' or '2014 -Ohio- 566'",
"3_4": "$volume_year\\s?-$reporter-\\s?$page_3_4",
"3_4#": "Format neutral cite where the page must be 3 or 4 digits, like '2000-NMSC-123' or '2009 -NMSC- 034'"
},
"illinois_neutral": {
"": "$volume_year $reporter (?P<page>\\d{6}(?:-[A-Z]|WC)?)",
"": "$volume_year $reporter (?P<page>\\d{6}(?:-?[A-Z]|WC)?)",
"#": "Illinois format-neutral cite with an optional -letter in page number."
},
"louisiana": {
Expand Down Expand Up @@ -54,14 +56,14 @@
"with_commas_and_suffix#": "Page number that allows internal commas, plus optional alpha character appended",
"with_commas_or_periods": "(?P<page>\\d(?:[\\d,.]*\\d)?)",
"with_commas_or_periods#": "Page number that allows internal punctuation",
"with_letter": "(?P<page>\\d+[a-zA-Z])",
"with_letter": "(?P<page>\\d+[a-zA-Z]+)",
"with_letter#": "Page number followed by a letter",
"with_periods": "(?P<page>\\d(?:[\\d.]*\\d)?)",
"with_periods#": "Page number that allows internal periods, like '1234.56'",
"with_roman_numerals": "(?P<page>[cC]?(?:[xX][cC]|[xX][lL]|[lL]?[xX]{1,3})(?:[iI][xX]|[iI][vV]|[vV]?[iI]{0,3})|(?:[cC]?[lL]?)(?:[iI][xX]|[iI][vV]|[vV]?[iI]{1,3})|(?:[lL][vV]|[cC][vV]|[cC][lL]|[cC][lL][vV]))",
"with_roman_numerals#": "Page number expressed as Roman numerals"
},
"paragraph_marker": "(?:P||para?\\.)",
"paragraph_marker": "(?:P|P.|¶|Paragraph|at|para?\\.)",
"reporter": {
"": "(?P<reporter>$edition)",
"#": "Standard reporter"
Expand All @@ -76,6 +78,8 @@
"with_alpha_suffix#": "Volume number that may have 'A' appended, like '1A'",
"with_digit_suffix": "(?P<volume>\\d{1,4}(?:-\\d+)?)",
"with_digit_suffix#": "Volume number that may have digits appended, like '123-4'",
"with_letter": "(?P<volume>\\d+[a-zA-Z])",
"with_letter#": "Volume number followed by a letter",
quevon24 marked this conversation as resolved.
Show resolved Hide resolved
"year": "(?P<volume>1[789]\\d{2}|20\\d{2})",
"year#": "Volume number that must be a year between 1900 and 2099"
}
Expand Down
Loading