From: <dba...@us...> - 2011-03-17 05:07:38
|
Revision: 216 http://devmon.svn.sourceforge.net/devmon/?rev=216&view=rev Author: dbaldwin Date: 2011-03-17 05:07:31 +0000 (Thu, 17 Mar 2011) Log Message: ----------- allow multiplication without space surrounding - e.g. {oid1}x{oid2} Modified Paths: -------------- trunk/modules/dm_tests.pm Modified: trunk/modules/dm_tests.pm =================================================================== --- trunk/modules/dm_tests.pm 2011-03-17 03:58:58 UTC (rev 215) +++ trunk/modules/dm_tests.pm 2011-03-17 05:07:31 UTC (rev 216) @@ -458,7 +458,7 @@ my $print_mask = '%.' . $precision . 'f'; # Convert our math symbols to their perl equivalents - $expr =~ s/ x / \* /g; # Multiplication + $expr =~ s/\bx\b/\*/g; # Multiplication $expr =~ s/\^/**/g; # Exponentiation # Extract all our our parent oids from the expression, first This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |