Merge remote-tracking branch 'origin/master' into SmartSpell

This commit is contained in:
hondacrx
2017-07-24 14:06:50 -04:00
18 changed files with 56 additions and 77 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 =>
{