This commit is contained in:
1 parent
3560fad9ea
commit
a97adee587
1 file changed
+1
-1
@@ -780,7 +780,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
string retval = Regex.Replace(str, "([+-]?)([0-9]+)[.]([0-9]*?)0*E([+-]?[0-9]+)", new MatchEvaluator(FixFortranNumber));
|
string retval = Regex.Replace(str, "([+-]?)([0-9]+)[.]([0-9]*?)0*E([+-]?[0-9]+)", new MatchEvaluator(FixFortranNumber));
|
||||||
retval = Regex.Replace(retval, "[#](.*?)[#]", "\\up2 $1\\up0 ");// DOS Superscript
|
retval = Regex.Replace(retval, "[#](.*?)[#]", "\\up2 $1\\up0 ");// DOS Superscript
|
||||||
retval = Regex.Replace(retval, "[~](.*?)[~]", "\\dn2 $1\\dn0 ");// DOS Subscript
|
retval = Regex.Replace(retval, "[~](.*?)[~]", "\\dn2 $1\\up0 ");// DOS Subscript
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
private static string FixFortranNumber(Match match)
|
private static string FixFortranNumber(Match match)
|
||||||
|
|||||||
Reference in new issue
Block a user