![](https://seccdn.libravatar.org/avatar/2f8a5b55b74eb727b5ee47fed82a1454.jpg?s=120&d=mm&r=g)
Author: ug Date: Fri Jan 22 11:48:41 2010 New Revision: 60479 URL: http://svn.opensuse.org/viewcvs/yast?rev=60479&view=rev Log: the regex match for rules only worked for substrings Modified: trunk/autoinstallation/package/autoyast2.changes trunk/autoinstallation/src/modules/AutoInstallRules.ycp Modified: trunk/autoinstallation/package/autoyast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/package/autoyast2.changes?rev=60479&r1=60478&r2=60479&view=diff ============================================================================== --- trunk/autoinstallation/package/autoyast2.changes (original) +++ trunk/autoinstallation/package/autoyast2.changes Fri Jan 22 11:48:41 2010 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Jan 22 11:47:22 CET 2010 - ug@suse.de + +- the regex match for rules only worked for substrings, not + with real regexpressions (bnc#572932) + +------------------------------------------------------------------- Thu Jan 21 15:50:31 CET 2010 - ug@suse.de - passing a boolean to an ask-script failed (bnc#572166) Modified: trunk/autoinstallation/src/modules/AutoInstallRules.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/modules/AutoInstallRules.ycp?rev=60479&r1=60478&r2=60479&view=diff ============================================================================== --- trunk/autoinstallation/src/modules/AutoInstallRules.ycp (original) +++ trunk/autoinstallation/src/modules/AutoInstallRules.ycp Fri Jan 22 11:48:41 2010 @@ -360,7 +360,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