From: <dba...@us...> - 2011-03-18 00:17:11
|
Revision: 218 http://devmon.svn.sourceforge.net/devmon/?rev=218&view=rev Author: dbaldwin Date: 2011-03-18 00:17:03 +0000 (Fri, 18 Mar 2011) Log Message: ----------- revert to whitespace surrounded x substitution - too hard to handle cases such as {oid}x3 since numbers dont match \b Modified Paths: -------------- trunk/modules/dm_tests.pm Modified: trunk/modules/dm_tests.pm =================================================================== --- trunk/modules/dm_tests.pm 2011-03-18 00:04:05 UTC (rev 217) +++ trunk/modules/dm_tests.pm 2011-03-18 00:17:03 UTC (rev 218) @@ -458,7 +458,7 @@ my $print_mask = '%.' . $precision . 'f'; # Convert our math symbols to their perl equivalents - $expr =~ s/\bx\b/\*/g; # Multiplication + $expr =~ s/\sx\s/ \* /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. |