public function build(array $strings)
	{
		$strings = array_unique($strings);
		sort($strings);
		if ($this->isEmpty($strings))
		{
			return '';
		}

		$strings = $this->splitStrings($strings);
		$strings = $this->meta->replaceMeta($strings);
		$strings = $this->runner->run($strings);

		return $this->serializer->serializeStrings($strings);
	}
public function build(array $strings)
	{
		$strings = array_unique($strings);
		sort($strings);
		if ($this->isEmpty($strings))
		{
			return '';
		}

		$strings = $this->splitStrings($strings);
		$strings = $this->meta->replaceMeta($strings);
		$strings = $this->runner->run($strings);

		return $this->serializer->serializeStrings($strings);
	}
public function build ( array $ strings ) { $ strings = array_unique ( $ strings ) ; sort ( $ strings ) ; if ( $ this -> isEmpty ( $ strings ) ) { return '' ; } $ strings = $ this -> splitStrings ( $ strings ) ; $ strings = $ this -> meta -> replaceMeta ( $ strings ) ; $ strings = $ this -> runner -> run ( $ strings ) ; return $ this -> serializer -> serializeStrings ( $ strings ) ; }
Build and return a regular expression that matches all of the given strings

@param  string[] $strings Literal strings to be matched
@return string            Regular expression (without delimiters)
Build and return a regular expression that matches all of the given strings