Enclose a string for preg matching.

Parameters

  • string $string String to enclose

Returns

string Enclosed string

Source

						protected static function _enclose($string) {
		return '(?:' . $string . ')';
	}