justmars / statute-patterns

Construction of regex patterns for Philippine statutory law.
https://lawsql.com
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Formula-based named patterns #7

Closed justmars closed 1 year ago

justmars commented 1 year ago

Existing approach:

https://github.com/justmars/lawrgx/blob/8e893d0fa2c7a6b71059257971bbda887baf569a/lawrgx/names.py

Instead of manually constructing named patterns, may want to use something more programmatic. See experimental:

https://github.com/justmars/lawrgx/blob/8e893d0fa2c7a6b71059257971bbda887baf569a/lawrgx/recipes/base.py#L7