Closed justmars closed 1 year ago
In the implementation for serials, we have to identify the digits because the serial numbers are part of the regex pattern.
Serial Title | Category | Serial | Note |
---|---|---|---|
Republic Act No. 386 | RA |
386 |
'386' can be found by matching the regex_serials |
Republic Act No. 7160 | RA |
7160 and 7610 |
'7160 and 7610' can be found by matching the regex_serials ; this then needs to be processed separately to arrive at the proper Rule |
In the implementation for named statutes, the formula is more bespoke, so that each of the entities have their own regular expression. To be clear, see:
Named Title | Category | Serial | Note |
---|---|---|---|
Spanish Civil Code | SPAIN |
civil |
Both variables can be serialized back into a distinct Rule |
Spanish Code of Commerce | SPAIN |
commerce |
Both variables can be serialized back into a distinct Rule |
Old Penal Code | SPAIN |
penal |
Both variables can be serialized back into a distinct Rule |