* 一覧での大文字小文字の区別を無くそう [#p2794510]

- ページ: [[BugTrack2]]
- 投稿者: MetalGlue
- 優先順位: 普通
- 状態: 提案
- カテゴリー: その他
- 投稿日: 2005-09-17 (土) 01:30:41
- バージョン: 

** メッセージ [#z2002d10]

普通こういうの大文字小文字を区別しない方がいいと思うんですけど.

 --- wiki.orig/lib/func.php	2005-02-20 21:50:06.000000000 +0900
 +++ wiki/lib/func.php	2005-09-17 00:57:14.000000000 +0900
 @@ -313,7 +313,7 @@
  				$head = $other;
  			}
  		} else {
 -			$head = (preg_match('/^([A-Za-z])/', $page, $matches)) ? $matches[1] :
 +			$head = (preg_match('/^([A-Za-z])/', $page, $matches)) ? strtoupper($matches[1]) :
  				(preg_match('/^([ -~])/', $page, $matches) ? $symbol : $other);
  		}


--------
- いや、普通preg_match()で大文字小文字区別しない場合はiオプションを使うでしょ。 --  &new{2005-09-17 (土) 09:54:14};

#comment


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Site admin: PukiWiki Development Team

PukiWiki 1.5.4+ © 2001-2022 PukiWiki Development Team. Powered by PHP 8.2.12. HTML convert time: 0.065 sec.

SourceForge