[Bps-public-commit] r12231 - in Prophet/trunk: .

sartak at bestpractical.com sartak at bestpractical.com
Sun May 11 01:48:01 EDT 2008


Author: sartak
Date: Sun May 11 01:48:01 2008
New Revision: 12231

Modified:
   Prophet/trunk/   (props changed)
   Prophet/trunk/lib/Prophet/CLI.pm

Log:
 r55553 at onn:  sartak | 2008-05-11 01:36:28 -0400
 Allow arbitrary whitespace between key: and value


Modified: Prophet/trunk/lib/Prophet/CLI.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/CLI.pm	(original)
+++ Prophet/trunk/lib/Prophet/CLI.pm	Sun May 11 01:48:01 2008
@@ -256,7 +256,7 @@
     my $output = $self->edit_text($input);
 
     my $filtered = {};
-    while ($output =~ m{^(\S+?):(.*)$}mg) {
+    while ($output =~ m{^(\S+?):\s*(.*)$}mg) {
         $filtered->{$1} = $2;
     }
 



More information about the Bps-public-commit mailing list