On this page

fromLists(positiveItems, negativeItems): (value: string) => string
Attributes
positiveItems:string[]
negativeItems:string[]
Returns:(value: string) => string

itemsToRegexp(itemsArr): string
Attributes
itemsArr:string[]
array of items
Returns:string
regexp

Returns regexp.