From d22a89b67211f3130206802e714931cf9c4376fd Mon Sep 17 00:00:00 2001 From: Ward Wouts Date: Fri, 20 Jun 2003 22:20:35 +0000 Subject: [PATCH] # is annoying in leading a subject too --- trunk/ripnews/ripnews.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/ripnews/ripnews.rb b/trunk/ripnews/ripnews.rb index 116ee4d..a9dcf1d 100755 --- a/trunk/ripnews/ripnews.rb +++ b/trunk/ripnews/ripnews.rb @@ -1,6 +1,6 @@ #!/usr/local/bin/ruby -w -# $Dwarf: ripnews.rb,v 1.69 2003/06/16 22:13:56 ward Exp $ +# $Dwarf: ripnews.rb,v 1.70 2003/06/20 09:56:15 ward Exp $ # $Source$ require 'date' @@ -385,7 +385,7 @@ def output_data(subject, mode, filename="", body="") # de-crap subject... sub = subject.sub(/\s*$/, "") # strip trailing spaces - sub.sub!(/^[\s\.!-]*/, "") # strip leading spaces, dots, exclamation points and dashes + sub.sub!(/^[\s\.!-#]*/, "") # strip leading spaces, dots, exclamation points, dashes and hashes # decide on a filename if @config[group].has_key?("-L") and @config[group]["-L"]