Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ISBNPattern = regexp.MustCompile(`(?i)(ISBN)?[\d\s\-]+X?`)
ISBNPattern to match ISBN
View Source
var ISSNPattern = regexp.MustCompile(`[0-9]{4,4}-[0-9]{3,3}[0-9X]`)
ISSNPattern is a regular expression matching standard ISSN.
Functions ¶
func Intersection ¶ added in v0.1.343
Intersection returns strings contained in boths given slices.
func RemoveEach ¶ added in v0.1.343
RemoveEach returns a new slice with elements not contained in a drop list.
func StringSliceContains ¶ added in v0.1.343
StringSliceContains returns true, if a given string is contained in a slice.
func UnescapeTrim ¶
UnescapeTrim unescapes HTML character references and trims the space of a given string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.