Skip to content

A collection of regular expressions to identify references to state laws.

License

Notifications You must be signed in to change notification settings

statedecoded/law-identifier

Repository files navigation

Law Identifier

A collection of regular expressions to identify references to state laws within the United States.

There is one file for each state, containing both a regular expression and a textual description of what that regular expression does, and how it was derived. These are, by design, naïve regular expressions. For example, they make no attempt to recognize that § 18.2-100–18.2-105 describes a range of six sections in all, but instead would only pick up on § 18.2-100 and § 18.2-105.

Inevitable, some states are going to use identifiers that are not amenable to parsing with a single PCRE, or that require something more advanced than a regular expression in order to get a high rate of matches. A best effort will be made for every state.

TO DO

  • Create a JSON file containing all PCREs, with the state's abbreviation serving as the key.

About

A collection of regular expressions to identify references to state laws.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published