Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllWordRegexp = regexp.MustCompile(`\pL+(\pP+\pL+)*`)
View Source
var WordRegexp = regexp.MustCompile(`\pL+('\pL+)*`)
Functions ¶
func MatchAllWords ¶
MatchAllWords matches the words in a text, including any embedded apostrophes. It also matches wordlike expressions that contain nonword characters, such as email or web addresses.
func MatchWords ¶
MatchWords matches the words in a text, including any embedded apostrophes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.