자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
/** * Builds the global regular expression * Must be called once when the scripts loads */ static function setRegexp() { $regexp = ""; foreach (Token::$tokenObjects as $tokenObject) { // echo "hou "; $reg = $tokenObject->regexp; $regexp .= "|{$reg}"; } self::$regexp = substr($regexp, 1); // removes the first pipe }