I am writing a migration utility, and a part of one of the conversions is testing a pair of regular expressions. For example, some of the tests will be:

```
+-------+-------+-------+
| Left  | Right | Match |
+-------+-------+-------+
| (.)01 | 101   | Yes   |
+-------+-------+-------+
| (.)02 | 101   | No    |
+-------+-------+-------+
| 101   | 101   | Yes   |
+-------+-------+-------+
| 201   | (.)01 | Yes   |
+-------+-------+-------+
| (.)01 | 2(.)1 | Yes   |
+-------+-------+-------+

```

At the moment, my test tests each by one using `.matches`, which works when there is only one side is a regular expression, but when both sides have one (i.e. the last row of the example), it returns false when it should return true.

So, how can I get a positive comparison result for the last example?