I'm struggling to write the correct regex to match the data below. I want to capture the "Focus+Terminal" and its optional parameter "NYET". How can I re-write my incorrect regex?

```
user:\/\/(.*)(?:=(.*+))?

```

I also tried and failed:

```
user:\/\/(.*)=?(?:(.*+))?

```

Sample Data

```
*   user://Focus+Terminal=NYET
*   user://Focus+Terminal

```