This commit is contained in:
monitor1394
2022-03-26 22:28:23 +08:00
parent 327661bfdd
commit 3bccbd0ab2
2 changed files with 1 additions and 2 deletions

View File

@@ -8,7 +8,6 @@ namespace XUGL
public class SVGPath
{
private static Regex s_PathRegex = new Regex(@"(([a-z]|[A-Z])(\d|\.|,|-)*)");
// private static Regex s_PathValueRegex = new Regex(@"(^[a-z]|[A-Z])\s*(-?\d+\.*\d*)*[\s|,|-]*(\d+\.*\d*)*");
private static Regex s_PathValueRegex = new Regex(@"(^[a-z]|[A-Z])\s*(-?\d+\.*\d*)*[\s|,|-]*(\d+\.*\d*)*");
private static Regex s_PathValueRegex2 = new Regex(@"(-?\d+\.?\d*)");
public bool mirrorY = true;