I need to verify the text label but it contains dynamic part, so I try to use regex but it doesn't work.
expect(aboutPage.userInterfaceText.getText()).toMatch('/- User Interface: v \d+\.\d+\.\d+/');
I always get next error:
- Expected '- User Interface: v 4.4.63' to match '/- User Interface: v d+.d+.d+/'.