package
0.0.0-20240927105425-f6cbe64b58da
Repository: https://github.com/gxde-os/golang-gxde-dev.git
Documentation: pkg.go.dev
# Functions
If returns a transformer that applies tIn to consecutive runes for which s.Contains(r) and tNotIn to consecutive runes for which !s.Contains(r).
In creates a Set with a Contains method that returns true for all runes in the given RangeTable.
Map returns a Transformer that maps the runes in the input using the given mapping.
In creates a Set with a Contains method that returns true for all runes not in the given RangeTable.
Predicate creates a Set with a Contains method that returns f(r).
Remove returns a Transformer that removes runes r for which s.Contains(r).
ReplaceIllFormed returns a transformer that replaces all input bytes that are not part of a well-formed UTF-8 code sequence with utf8.RuneError.
# Structs
Transformer implements the transform.Transformer interface.
# Interfaces
A Set is a collection of runes.