Skip to content

Commit

Permalink
#85 included characters with accents, umlauts, and +
Browse files Browse the repository at this point in the history
  • Loading branch information
C9Glax committed Dec 24, 2023
1 parent 800d4c1 commit cc8453d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tranga/Manga.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public enum ReleaseStatusByte : byte
public float latestChapterDownloaded { get; set; }
public float latestChapterAvailable { get; set; }

private static readonly Regex LegalCharacters = new (@"[A-Z]*[a-z]*[0-9]* *\.*-*,*'*\'*\)*\(*~*!*");
private static readonly Regex LegalCharacters = new (@"[A-Za-zÀ-ÖØ-öø-ÿ0-9 \.\-,'\'\)\(~!\+]*");

[JsonConstructor]
public Manga(string sortName, List<string> authors, string? description, Dictionary<string,string> altTitles, string[] tags, string? coverUrl, string? coverFileNameInCache, Dictionary<string,string>? links, int? year, string? originalLanguage, string status, string publicationId, ReleaseStatusByte releaseStatus = 0, string? websiteUrl = null, string? folderName = null, float? ignoreChaptersBelow = 0)
Expand Down

0 comments on commit cc8453d

Please sign in to comment.