mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 04:24:14 +09:00
commit
30402cb543
1 changed files with 1 additions and 1 deletions
|
|
@ -450,7 +450,7 @@ class VariableBase
|
||||||
|
|
||||||
// parse the value (text);
|
// parse the value (text);
|
||||||
$value = str_replace('"', '"', $value);
|
$value = str_replace('"', '"', $value);
|
||||||
$keywords = preg_split('/(\([^\)]*\))|(\-?\"[^\"]*\")|[\s,]+/', trim($value), 10, \PREG_SPLIT_NO_EMPTY | \PREG_SPLIT_DELIM_CAPTURE);
|
$keywords = preg_split('/(\([^\)]*?\))|(\-?\"[^\"]*?\")|[\s,]+/', trim($value), 10, \PREG_SPLIT_NO_EMPTY | \PREG_SPLIT_DELIM_CAPTURE);
|
||||||
$conditions = array();
|
$conditions = array();
|
||||||
$operators = array('AND', 'OR', '|');
|
$operators = array('AND', 'OR', '|');
|
||||||
// loop the parsed keywords or operators
|
// loop the parsed keywords or operators
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue