Seperating a python string by character while keeping inline tags intact

后端 未结 0 1605
自闭症患者
自闭症患者 2020-12-05 06:09

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*.\'
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题