Scala library to parse and rewrite bbcode