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

2
.github/FUNDING.yml vendored
View File

@@ -10,4 +10,4 @@ liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: ['https://github.com/XCharts-Team/XCharts/blob/master/Documentation/res/alipay.png']
custom: ['https://www.paypal.com/paypalme/monitor1394','https://github.com/XCharts-Team/XCharts/blob/master/Documentation/res/alipay.png']

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;