banlist

package
v0.0.0-...-9648343 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2021 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const BanBase = `n[1i]gg|n[i1]b+[e3]|h[i1]gg+[e3]rs|kike|ta2autortii|r[3e]gg+[i1]n|n[1i]cc+[3e]r`

Variables

View Source
var DefaultBanned = regexp.MustCompile(BanBase)

Functions

func Banned

func Banned(s string) bool

Banned checks if the given string contains a known banned phrase

func Custom

func Custom(phrases string) (*regexp.Regexp, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL