Misc cleanups

This commit is contained in:
hondacrx
2017-07-22 10:56:15 -04:00
parent 54fc79fced
commit cbf11e07ae
14 changed files with 48 additions and 59 deletions
+2 -4
View File
@@ -285,10 +285,8 @@ namespace System
public static string ConvertFormatSyntax(this string str)
{
// @"%(\d+(\.\d+)?)?(d|f|s|u|i|llX|X|ll)"; old working
//@"%(\d+(\.\d+)?)?(-\d+[a-z]|[[a-z])"; working somewhat
string pattern = @"(%\W*\d*[a-zA-Z]*)"; //Working fully????
string pattern = @"(%\W*\d*[a-zA-Z]*)";
int count = 0;
string result = Regex.Replace(str, pattern, m =>
{