From: Manni H. <man...@us...> - 2007-09-03 14:13:45
|
Update of /cvsroot/popfile/engine/POPFile In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7996 Modified Files: Configuration.pm Log Message: Slight change for our options-parsing regex: make it non-greedy so you can pass in values that contain an equals sign (e.g. the dbconnect string). Index: Configuration.pm =================================================================== RCS file: /cvsroot/popfile/engine/POPFile/Configuration.pm,v retrieving revision 1.60 retrieving revision 1.61 diff -C2 -d -r1.60 -r1.61 *** Configuration.pm 2 Dec 2006 17:45:02 -0000 1.60 --- Configuration.pm 3 Sep 2007 12:42:59 -0000 1.61 *************** *** 387,391 **** for my $i (0..$#set_options) { ! $set_options[$i] =~ /-?(.+)=(.+)/; if ( !defined( $1 ) ) { --- 387,391 ---- for my $i (0..$#set_options) { ! $set_options[$i] =~ /-?(.+?)=(.+)/; if ( !defined( $1 ) ) { *************** *** 734,736 **** 1; - --- 734,735 ---- |