The original text content is 'a [tag] in codemirror'  Encountering [xxx] will match the content inside xxx and become a tag 