abstract class RegexpBuilder

Methods

static string
fromList(array $words, array $options = [])

Create a regexp pattern that matches a list of words

Details

at line 21
static string fromList(array $words, array $options = [])

Create a regexp pattern that matches a list of words

Parameters

array $words

Words to sort (must be UTF-8)

array $options

Return Value

string