At my wits end:

Need expect to match the following string, which is also colour coded. Quotes are the illustrate the blank space to the right.

```
"FuseMQ:karaf@root> " 

```

Using just "root" sends before the > prompt is ready, in some cases, not all.

```
expect "root" {

0m:\u001b[36mkaraf\u001b[0m\u001b[1m@\u001b[0m\u001b[34mroot"
send: sending "osgi:install wrap:file:/apps/fuse/fuse-mq-7.1.0.fuse-047/ 
lib/ojdbc6-11.2.0.2.0.jar\r" to { exp4 }

```

I cannot find a regexp that works. The output from expect -d is as follows when it works

```
u001b[0m\u001b[1m@\u001b[0m\u001b[34mroot\u001b[0m> " (spawn_id
 exp4) match glob pattern "root"? yes

```

But I cannot figure out how to match this.