fork-dev / TrackerWin

Bug and issue tracker for Fork for Windows
461 stars 10 forks source link

[Bug Report] .issuetracker file not picked up anymore, regex seems valid #2337

Open sithson opened 15 hours ago

sithson commented 15 hours ago

My regexes in .issuetracker were working some months back, but I noticed now they are not working anymore.

Fork v2.1.0.0 Windows 11

Regex: (?i)^[[:print:]]MYUPPERCASEJIRAKEY-([0-9]+).$

I test with case-insensitive (?i), and in the issuetracker test in repo settings, it gets picked up OK.

EDIT:

DanPristupov commented 7 hours ago

(?i)^[[:print:]]MYUPPERCASEJIRAKEY-([0-9]+).$

Fork is written in .NET. .NET regex engine uses Perl syntax and does not support POSIX character classes.

Looks like there is no replacement for [:print:] and . is the closest alternative (https://en.wikipedia.org/wiki/Regular_expression#Character_classes).