Documentation ¶
Overview ¶
Package util contains a few commonly used utility functions.
Index ¶
Constants ¶
View Source
const MIN_KEYWORD_LEN = 3
Variables ¶
View Source
var UserIdRegex *regexp.Regexp = regexp.MustCompile(`^\s*(\S.*\b)?\s*(\([^(]+\))?\s*(<[^>]+>)?$`)
Functions ¶
func SplitUserId ¶
Split a user ID string into fulltext searchable keywords.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.