From TreeCtrl docs:
Columns and items may have any number of tags associated with them. A tag is just a string of characters, and it may take any form, including that of an integer, although the characters '(', ')', '&', '|', '^' and '!' should be avoided.
It turns out that backslashing works for all those characters except "!".
From TreeCtrl docs:
Columns and items may have any number of tags associated with them. A tag is just a string of characters, and it may take any form, including that of an integer, although the characters '(', ')', '&', '|', '^' and '!' should be avoided.
It turns out that backslashing works for all those characters except "!".