Don't instantiate new PROMPT regex in connect!

* Since 2851a4c0b7e54c7bf6a94793aeb16e8f595a084c, PROMPT has been a
  regex