I\'m trying to make a custom tokenizer in python that works with inline tags. The goal is to take a string input like this:
\'This is *tag1* a test *tag2*.\'