title: Python textwrap ignoring length of some parts of string
body: <p>I'm using textwarp to warp a big line to smaller lines with a specific length</p>
  <pre class="lang-py prettyprint-override"><code>lines = wrap(line, 33)
  </code></pre>
  <p>its work as I excepted, but there is only one problem, my big string have some code in it that my program use to style the string</p>
  <pre class="lang-css prettyprint-override"><code>test string with no color - This part is [#?color_red]red[#]. and this part is [#?color_blue]Blue[#] and...
  </code></pre>
  <p>but when Im using textwarp its also counts the codes as part of string and this make the length of string wrong in some case (because as you know these codes wont show up in my program, they just used for styling)<br />
  so my question is how can I make textwarp  Ignore these codes?</p>