My opinion is to use the Tango's unicodedata.d module to obtain the unicode category, std.uni does not provide such functionality.

This module does not have any dependency, therefore you can just use it directly:

https://github.com/SiegeLord/Tango-D2/blob/d2port/tango/text/UnicodeData.d#L169

Reply via email to