Lazy Diary @ Hatena Blog

PowerShell / Java / miscellaneous things about software development, Tips & Gochas. CC BY-SA 4.0/Apache License 2.0

Entries from 2003-10-02 to 1 day

Why?

irb で実行。 irb(main):009:0> if '| hogehoge' =~ /^| (.*)/ then print "ok\n" end ok nil irb(main):010:0> print $1 nilnil irb(main):011:0> if '| hogehoge' =~ /^\| (.*)/ then print "ok\n" end ok nil irb(main):012:0> print $1 hogehogenil 最初…