[yast-commit] r60480 - in /branches/SuSE-Code-11-SP1-Branch/autoinstallation: package/autoyast2.changes src/modules/AutoInstallRules.ycp
Author: ug Date: Fri Jan 22 11:49:26 2010 New Revision: 60480 URL: http://svn.opensuse.org/viewcvs/yast?rev=60480&view=rev Log: the regex match for rules only worked for substrings Modified: branches/SuSE-Code-11-SP1-Branch/autoinstallation/package/autoyast2.changes branches/SuSE-Code-11-SP1-Branch/autoinstallation/src/modules/AutoInstallRules.ycp Modified: branches/SuSE-Code-11-SP1-Branch/autoinstallation/package/autoyast2.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/autoinstallation/package/autoyast2.changes?rev=60480&r1=60479&r2=60480&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/autoinstallation/package/autoyast2.changes (original) +++ branches/SuSE-Code-11-SP1-Branch/autoinstallation/package/autoyast2.changes Fri Jan 22 11:49:26 2010 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Jan 22 11:49:06 CET 2010 - ug@suse.de + +- the regex match for rules only worked for substring, not + with real regexpressions (bnc#572932) + +------------------------------------------------------------------- Thu Jan 21 15:52:15 CET 2010 - ug@suse.de - passing a boolean to an ask-script failed (bnc#572166) Modified: branches/SuSE-Code-11-SP1-Branch/autoinstallation/src/modules/AutoInstallRules.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/autoinstallation/src/modules/AutoInstallRules.ycp?rev=60480&r1=60479&r2=60480&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/autoinstallation/src/modules/AutoInstallRules.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/autoinstallation/src/modules/AutoInstallRules.ycp Fri Jan 22 11:49:26 2010 @@ -359,7 +359,7 @@ } else if( matchtype == "regex" ) { - tmpshell = tmpshell + sformat("[ \"$%1\" =~ \"%2\" ]", var, val); + tmpshell = tmpshell + sformat("[ \"$%1\" =~ %2 ]", var, val); } if (match) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
ug@svn.opensuse.org