I'm writing a text display for my game; one of the things it does is style text based on a
simple style tag syntax. This means I need to find, analyze and remove each tag from the text, which I do
with regular expressions and such.
However, what I'm finding on the neko and native targets is that, while regular expressions often work as-is, some of the methods I'm relying on, like EReg.matchedPos(), are returning data that I can't plus into String.substr() or into haxe.Utf8.sub(). What am I supposed to do to in these situations to get working string matching? Do I need to decode the input string and the EReg string? Does anyone have experience with this stuff?