Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
electroly committed Nov 8, 2024
1 parent 167ef40 commit 2c247b8
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/J.App/M3u8FolderSync.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Text.RegularExpressions;
using J.Core;
using J.Core;
using J.Core.Data;

namespace J.App;
Expand Down Expand Up @@ -248,10 +247,4 @@ bool writeFile

private string MakeFilesystemSafe(string name) =>
string.Join("_", name.Split(_filesystemInvalidChars, StringSplitOptions.RemoveEmptyEntries));

[GeneratedRegex(@"[_'""\s\-\[\]\(\)]+")]
private static partial Regex WordSeparatorRegex();

[GeneratedRegex(@"^[\d\-\._]+$")]
private static partial Regex NumberRegex();
}

0 comments on commit 2c247b8

Please sign in to comment.