package sanitize
import "git.sr.ht/~seirdy/moac/v2/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
- v2.0.2 (latest)
- Published
- Oct 5, 2021
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 2 weeks ago –
Tools for package owners.