Bug: T135257
Change-Id: I19d4f073ff730821230ccb28d29df303fbaccbc2
// Comma for second argument
'(?:\s*(,))?' .
// Second argument must start with array to be processed
// Comma for second argument
'(?:\s*(,))?' .
// Second argument must start with array to be processed
+ '(?:\s*(?:array\s*\(|\[)' .
// Matching inside array - allows one deep of brackets
// Matching inside array - allows one deep of brackets
- '((?:[^\(\)]|\([^\(\)]*\))*)' .
+ '((?:[^\(\)\[\]]|\((?-1)\)|\[(?-1)\])*)' .
$content,
$m,
PREG_SET_ORDER
$content,
$m,
PREG_SET_ORDER