Closed bertsky closed 4 months ago
@stweil then please just make a conditional on OS
(as with dos2unix
), and have Mac just use plain regexes on codepoints instead of grapheme clusters.
(Of course, this is doable in Python, but the point of that target is to be as simple and fast as possible, without dependencies.)
This pull request was merged too fast, because the new code does not work at all on macOS:
I'll fix that by using Python code which is more portable.