Index: /trunk/PS-IPP-Metadata-Config/config_grammar.txt
===================================================================
--- /trunk/PS-IPP-Metadata-Config/config_grammar.txt	(revision 14031)
+++ /trunk/PS-IPP-Metadata-Config/config_grammar.txt	(revision 14032)
@@ -1,5 +1,5 @@
 # Copyright (c) 2005  Joshua Hoblitt
 #
-# $Id: config_grammar.txt,v 1.12 2006-11-25 02:29:05 jhoblitt Exp $
+# $Id: config_grammar.txt,v 1.13 2007-07-06 02:27:32 jhoblitt Exp $
 
 {
@@ -302,5 +302,5 @@
 
 string:
-    /(?:\S[^#\n]*)?[^#\n ]/
+    /[^#\n\s]+[^#\n]*/
         # trim tailing the trailing white that's left when the string is
         # followed by a comment (#)
Index: /trunk/PS-IPP-Metadata-Config/t/08_strings.t
===================================================================
--- /trunk/PS-IPP-Metadata-Config/t/08_strings.t	(revision 14031)
+++ /trunk/PS-IPP-Metadata-Config/t/08_strings.t	(revision 14032)
@@ -3,5 +3,5 @@
 # Copyright (C) 2006  Joshua Hoblitt
 #
-# $Id: 08_strings.t,v 1.2 2006-11-04 01:25:32 jhoblitt Exp $
+# $Id: 08_strings.t,v 1.3 2007-07-06 02:27:32 jhoblitt Exp $
 
 use strict;
@@ -12,5 +12,5 @@
 #$::RD_TRACE = 1;
 
-use Test::More tests => 4;
+use Test::More tests => 6;
 use PS::IPP::Metadata::Config;
 
@@ -74,2 +74,13 @@
     is_deeply( $config, $tree, "NULL str structure" );
 }
+
+{
+my $example =<<END;
+mystr   STR     # some comment
+END
+
+    my $config = $config_parser->parse( $example );
+    ok(!defined( $config ), "STR without value");
+
+    is_deeply( $config, undef, "NULL str structure" );
+}
