Some assertions containing complex regular expressions may fail when running tests with the Maven plugin.
Assertions with regular expressions such as (?<year>[0-9]{4})
, which
contains a named group, are supported by the Talend Cloud API Tester
extension, but may fail when using the Maven plugin.
To solve this issue, you can remove the named group and use the following regex instead:
([0-9]{4})
. It is still effective and does not cause any issues
with the plugin.