You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varmatch=Regex.Match(text,@"^\s*([1-9]\d{2,3})\s*[Xx]\s*([1-9]\d{2,3})\s*$");//capturing 2 groups of 3-4digits, separated by X or x, ignoring whitespace in beginning/end and in between
548
+
if(match.Success)
549
+
{
550
+
return$"{match.Groups[1]}x{match.Groups[2]}";
551
+
}
552
552
returnSettings.WindowSize;// i.e. no change or message. Just ignore non-numeric entries
0 commit comments