Skip to content

Commit c4c41bb

Browse files
authored
Merge pull request #229 from freelawproject/fix-leading-zero-in-volume
fix(regexes): Remove leading zero from volume
2 parents b15efaf + 3d6bd05 commit c4c41bb

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
- Remove repeated reporter `C.I.T.` and add it as a variation of `Ct. Int'l Trade`
1616
- Move variation `M.` to correct reporter `Mich.`
17+
- Update Volume regex
1718

1819
## Current Version
1920

reporters_db/data/laws.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@
463463
"cite_type": "admin_register",
464464
"end": null,
465465
"examples": [
466-
"043 Ark. Reg. 0"
466+
"43 Ark. Reg. 0"
467467
],
468468
"jurisdiction": "Arkansas",
469469
"name": "Arkansas Register",
@@ -1592,7 +1592,7 @@
15921592
"cite_type": "admin_register",
15931593
"end": null,
15941594
"examples": [
1595-
"0 Idaho Admin. Bull. 6"
1595+
"1 Idaho Admin. Bull. 6"
15961596
],
15971597
"jurisdiction": "Idaho",
15981598
"name": "Idaho Administrative Bulletin",
@@ -4414,7 +4414,7 @@
44144414
"cite_type": "admin_register",
44154415
"end": null,
44164416
"examples": [
4417-
"059 Okla. Gaz. 9275"
4417+
"59 Okla. Gaz. 9275"
44184418
],
44194419
"jurisdiction": "Oklahoma",
44204420
"name": "Oklahoma Gazette 1962-1983",

reporters_db/data/regexes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
},
6969
"section_marker": "((§§?)|([Ss]((ec)(tion)?)?s?\\.?))",
7070
"volume": {
71-
"": "(?P<volume>\\d+)",
71+
"": "(?P<volume>[1-9]\\d*)",
7272
"#": "Standard volume number",
7373
"nominative": "(?:(?P<volume>\\d{1,2}) )?",
7474
"nominative#": "Nominative volume number embedded in an official cite; made optional for single-volume nominatives",

0 commit comments

Comments
 (0)