This library provides Unmarshalling functionality using a regular expression.
Decoders are initialized by providing a regular expression (compiled or as string).
When unmarshalling the following mapping from the regular expression to the fields in the struct is used:
- Named capture groups are mapped to fields with the same name in the 'encre' tag.
- Indexed capture groups are mapped to fields with the corresponding index in the 'encre' tag.
- Named capture groups are mapped to fields with the same name.