Documentation ¶
Overview ¶
Copyright (c) 2024 Owen Waller. All rights reserved.
Index ¶
- Constants
- func AcceptAllUnicodeExceptControl(s string) bool
- func AcceptUnicodeLettersSpacesPunctuation(s string) bool
- func EscapeHTML(s string) string
- func RemoveEmailHeaders(s string) string
- func RemoveEscapeSequences(s string) string
- func RemoveScriptTagsAndContents(s string) string
- func ValidateAsEmail(s string) bool
- func ValidateAsRestrictedText(s string) bool
- func ValidateAsUnrestrictedText(s string) bool
Constants ¶
View Source
const ( Control = 'C' Math = 'M' Number = 'N' Letter = 'L' Punctuation = 'P' Symbol = 'S' Separator = 'Z' )
Variables ¶
This section is empty.
Functions ¶
func EscapeHTML ¶
func RemoveEmailHeaders ¶
func RemoveEscapeSequences ¶
func ValidateAsEmail ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.