Lines Matching refs:token
61 $token = preg_split('/\s+/', $line, 3);
62 if (count($token) == 3) {
63 $status = ($token[0] == 301) ? 301 : 302;
64 array_shift($token);
67 if (count($token) != 2) continue;
68 if (strpos($token[0], '%') !== 0) { // not regular expression
70 $head = (substr($token[0],0,1)==':') ? ':' : '';
71 $tail = (substr($token[0],-1) ==':') ? ':' : '';
72 $ptn = $head . cleanID($token[0]) . $tail;
74 $ptn = $token[0];
77 'destination' => $token[1], 'status' => $status,