Lines Matching refs:match
63 if (preg_match('/^(.*) ?[(](.*)[)]/', $date, $match)) {
64 $date = $match[1];
65 $this->text = $match[2];
67 if (preg_match('/^(FROM|BET) (.+) (AND|TO) (.+)/', $date, $match)) {
68 $this->qual1 = $match[1];
69 $this->date1 = $calendar_date_factory->make($match[2]);
70 $this->qual2 = $match[3];
71 $this->date2 = $calendar_date_factory->make($match[4]);
72 } elseif (preg_match('/^(TO|FROM|BEF|AFT|CAL|EST|INT|ABT) (.+)/', $date, $match)) {
73 $this->qual1 = $match[1];
74 $this->date1 = $calendar_date_factory->make($match[2]);