While it does appear to be plain XML, you'll want to be certain. What sorts of situations are going to be considered an error (e.g. tags out of order, mismatched tags, invalid characters, ...)? Are there any special cases you'll need to handle?
The devil is in the details, as they say. So if you keep to the same rules and conventions as XML, things will be pretty simple using the suggestions you've already received. However, if you have to do any special case handling, your life can quickly become difficult.
...roboticusIn reply to Re: tagged text parser
by roboticus
in thread tagged text parser
by periapt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |