remove haxeErrorCharacter from regex segments