Description
Accept exactly one matching suffix whose preceding tail is a positive integer without leading zero, and return folio number and side token.
Historical and public-register references combine repositories, series, titles and local identifiers. A syntactic token or hierarchy count helps organize records without authenticating the source or establishing a document's historical or legal meaning.
Accept exactly one matching suffix whose preceding tail is a positive integer without leading zero, and return folio number and side token.
When to use this tool
Use Public Register Folio Token when you need a literal archival or public-register record operation.
How to use the tool and how it works
- Enter token, prefix, rectoToken, versoToken. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read folio, side. Use the output convention below.
Require nonempty prefix and distinct recto/verso suffixes, with a prefixed token. Accept exactly one matching suffix whose preceding tail is a positive integer without leading zero, and return folio number and side token.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| token | Token | Required. Text; maximum UTF-16 length 8192. |
| prefix | Supplied or returned literal prefix under the stated grammar. | Required. Text; maximum UTF-16 length 8192. |
| rectoToken | Recto Token | Required. Text; maximum UTF-16 length 8192. |
| versoToken | Verso Token | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| folio | Positive safe numeric folio index, without leading-zero spelling. | Required. Safe integer. |
| side | Side | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"token": "f12v",
"prefix": "f",
"rectoToken": "r",
"versoToken": "v"
},
"output": {
"folio": 12,
"side": "v"
}
} Limitations and assumptions
- Ambiguous overlapping suffix matches are rejected. Parsing does not authenticate a manuscript, resolve a catalog reference or infer its foliation convention.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Consult the source repository's catalog and description conventions for identity and interpretation. Preserve original references and resolve language, hierarchy and identifier rules before treating a token match as an authenticated record.
References
Similar or alternative tools
- Manuscript Quire Leaf Parity
Floor-divide for bifoliumIndex and return remainder slot.
- Public Register Volume Token
Serialize repository, series and volumeToken as a JSON-array source key, and flag volume presence by trimmed nonempty text.