/////////////////////////////////////////////////
// PukiWiki - Yet another WikiWikiWeb clone.
//
-// $Id: func.php,v 1.21 2003/02/28 03:27:12 panda Exp $
+// $Id: func.php,v 1.22 2003/02/28 06:18:19 panda Exp $
//
// ʸ»úÎó¤¬InterWikiName¤«¤É¤¦¤«
return $is_pagename;
}
+// ʸ»úÎó¤¬URL¤«¤É¤¦¤«
+function is_url($str)
+{
+ return preg_match('/^(https?|ftp|news)(:\/\/[-_.!~*\'()a-zA-Z0-9;\/?:\@&=+\$,%#]+)$/', $str);
+}
// ¥Ú¡¼¥¸¤¬Â¸ºß¤¹¤ë¤«
function is_page($page,$reload=FALSE)
{
}
//-----------------------------------------------------------------------------
-// URL¤«¤É¤¦¤«
-function is_url($text) {
- return preg_match('/^(https?|ftp|news)(:\/\/[-_.!~*\'()a-zA-Z0-9;\/?:\@&=+\$,%#]+)$/', $text);
-}
//¥ª¥×¥·¥ç¥ó¤ò²òÀϤ¹¤ë
function ref_check_arg($val, $_key, &$params) {
if ($val == '') {