-
Notifications
You must be signed in to change notification settings - Fork 0
stripPunctuation
nvolk edited this page Dec 4, 2023
·
1 revision
This validator strips punctuation from fields. This is actually just a wrapper for stripping punctuation, and all the relevant code is in punctuation2.js (it's default function adds punction). To my knowledge only used in testing purposes. See punctuation2 for details.
Mainly uses for field merge purposes: as a subfield is added to an existing field, it's existing punctuation may be erronous, and needs to be replaces with valid punctuation, as the context may change.