From 6425530640ffb0f024869ca44d8145ef92ce228f Mon Sep 17 00:00:00 2001 From: Ward Wouts Date: Wed, 28 Aug 2002 11:54:55 +0000 Subject: [PATCH] allow comments after continuing lines, like this: OPT_I=(?i)( \ agresion| \ # Paul apex theory| \ at the drive in| \ # Paul bad religion| \ --- trunk/ripnews/ripnews.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/trunk/ripnews/ripnews.rb b/trunk/ripnews/ripnews.rb index 7088d93..2096c43 100755 --- a/trunk/ripnews/ripnews.rb +++ b/trunk/ripnews/ripnews.rb @@ -125,6 +125,7 @@ def parse_config(default = {}) lines.collect!{|x| x.sub!(/^\s*/, "") x.sub!(/\#.*$/, "") + x.sub!(/\s*$/, "") x.chomp } while i < lines.length