Sfoglia il codice sorgente

Added comment to regex

CPKreuz 1 anno fa
parent
commit
35486679a3
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      src/PixiEditor/Helpers/CrashHelper.cs

+ 3 - 0
src/PixiEditor/Helpers/CrashHelper.cs

@@ -160,6 +160,9 @@ internal partial class CrashHelper
         catch { }
     }
 
+    /// <summary>
+    /// Matches file paths with spaces when in quotes, otherwise not
+    /// </summary>
     [GeneratedRegex(@"'([^']*[\/\\][^']*)'|(\S*[\/\\]\S*)")]
     private static partial Regex FilePathRegex();
 }