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 最初…
Quote saved.
Login to quote this blog
Failed to save quote. Please try again later.
You cannot quote because this article is private.