I am trying to assert a text with regex as below:

```
cy.get("voy-vessel-gsis-list-entry").then(() =>  { 
     cy.get('.timeHeader').eq(0).should('match.text','/Departure\s?\((actual|scheduled|communicated)\)'/); 
});

```

And my UI looks like this:

[![enter image description here](https://i.stack.imgur.com/3TIkM.png)](https://i.stack.imgur.com/3TIkM.png)

As you can see, I am asserting that if *the "Departure" message followed by a space and any text inside braces* is visible. But as of now, I am getting the error "*The chainer text was not found. Could not build assertion*" and What am I missing?