Skip to content

Commit

Permalink
Add crown and county courts
Browse files Browse the repository at this point in the history
  • Loading branch information
dragon-dxw committed Aug 7, 2024
1 parent d4f3ddb commit 7c889c1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions src/ds_caselaw_utils/data/court_names.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,24 @@
end_year: 2022
selectable: false
listable: false
- code: "EWCRC"
name: "Crown Court"
link: https://www.judiciary.uk/courts-and-tribunals/crown-court/
ncn: \[(\d{4})\] (EWCRC) (\d+)
param: "ewcrc"
start_year: 2024
end_year: 2024
selectable: false
listable: false
- code: "EWCC"
name: "County Court"
link: https://www.judiciary.uk/courts-and-tribunals/county-court/
ncn: \[(\d{4})\] (EWCC) (\d+)
param: "ewcc"
start_year: 2024
end_year: 2024
selectable: false
listable: false

- name: investigatory_powers_tribunal
display_name: ~
Expand Down
2 changes: 1 addition & 1 deletion src/ds_caselaw_utils/data/neutral_citation_regex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'^\[(\d{4})\] (EWHC) (\d+) \((Admin|Admlty|Ch|Comm|Costs|Fam|IPEC|Pat|QB|KB|SCCO|TCC)\)$',
[2, 4, 1, 3],
],
['^\[(\d{4})\] (EWFC|EWCOP) (\d+)$', [2, 1, 3]],
['^\[(\d{4})\] (EWFC|EWCOP|EWCC|EWCRC) (\d+)$', [2, 1, 3]],
['^\[(\d{4})\] (EWCOP) (\d+) \((T1|T2|T3)\)$', [2, 4, 1, 3]],
['^\[(\d{4})\] (UKUT) (\d+) \((AAC|IAC|LC|TCC)\)$', [2, 4, 1, 3]],
['^\[(\d{4})\] (EAT) (\d+)$', [2, 1, 3]],
Expand Down

0 comments on commit 7c889c1

Please sign in to comment.