Python厨とRuby厨が仲直りするスレッド
at TECH
963:デフォルトの名無しさん
08/01/04 23:11:51
(Ruby) xor (Python) == Falcon Programming Language
URLリンク(www.falconpl.org)
load regex
// create the regex using the first script parameter
try
filter = Regex( args[0] )
catch
> "Please, provide a valid regular expression as first parameter"
return
end
stdinput = stdIn() // get the standard input as a file
line = "" // prepare an empty string to read data
loop
if stdinput.readLine( line, 30000 ) == 0
return
end
if filter.match( line )
> line
end
end
次ページ続きを表示1を表示最新レス表示スレッドの検索類似スレ一覧話題のニュースおまかせリスト▼オプションを表示暇つぶし2ch
4794日前に更新/196 KB
担当:undef