646e62 / legal-citation-parser

Unpacks legal case metadata from CanLII case citations.
https://pypi.org/project/legal-citation-parser/
GNU General Public License v3.0
2 stars 0 forks source link

Numbered styles of cause producing errors #23

Closed 646e62 closed 6 months ago

646e62 commented 6 months ago

Eg:

Four-digit numbers like this in a case title are relatively rare, but consistently cause problems. Fixing the issue will require fundamentally revisiting the way the function parses citation strings.

646e62 commented 6 months ago

Try searching right to left when splitting by year.