# File lib/hikidoc.rb, line 826 def gets_if(re) line = gets() if not line or not (re =~ line) ungets line return nil end line end