HOMELv002 正規表現で「行の先頭」を表すメタ文字はどれか。 2026年1月24日 行の先頭に該当するのは^ `!nil` の評価結果はどれか。 `[1, 2, 3].inject(0) { |sum, n| sum + n }` の結果はどれか。