Newer
Older
Ruby / tenmon.txt
@ONOKI Yuma ONOKI Yuma on 5 Nov 2022 150 bytes 2022-11-05 15:59:42
#!/usr/bin/env ruby
# coding: utf-8

print"検索パターン:"
pattern=STDIN.gets.chomp!
regexp=Regexp.new(pattern.nil)


while line=gets
 if/^オ/=