package sanitize
import "git.sr.ht/~seirdy/moac/internal/sanitize"
Package sanitize implements detection and/or removal of unwanted characters in strings.
Index ¶
Functions ¶
func FilterStrings ¶
FilterStrings removes bad runes from customCharsets, returning the result with the violating strings. sanitizedCharsets is customCharsets with all nonprintable or mark runes removed. badCharsets is the strings in customCharsets that contained such runes.
Source Files ¶
- Version
- v1.2.0 (latest)
- Published
- Sep 23, 2021
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 2 days ago –
Tools for package owners.