Developed and maintained by Evgeniy Gabrilovich (gabr@cs.technion.ac.il) Overview Description Prerequisites Usage What else is available Detailed description Running time Further reading Conditions of use Support References News The code is being slowly moved to SourceForge.net, where it will be hosted as project WikiPrep. Stay tuned ! Overview Wikipedia is a terrific knowledge resource, and many
split関数の挙動が違うことに最近気付いた。正確にはPerlの第3引数とJavaScriptの第2引数とでの挙動なんだけど。 JavaScriptの場合 var str = "a b c d e f g"; var array = str.split(/\s+/, 3); // array.toSource() = ["a", "b", "c"] Perlの場合 my $str = "a b c d e f g"; my @array = split(/\s+/, $str, 3); # $array = ["a", "b", "c d e f g"] Perlの場合は後続がそのまま最後の要素に入るのに対して、JavaScriptの場合は抜け落ちてしまう。個人的にはPerlの挙動の方が好きだなあ。
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く