citrusframework / citrus

Framework for automated integration tests with focus on messaging integration
https://citrusframework.org
Apache License 2.0
445 stars 135 forks source link

HamcrestValidationMatcher fails to resolve submatchers for iterableMatchers, when submatcher contains a quote. #1183

Open tschlat opened 4 days ago

tschlat commented 4 days ago

Citrus Version V4.3

Expected behavior The following expression should be resolvable: @matches(allOf(equalTo('Chemin de l'Apiculture 5'),matchesRegExPattern('(.|\s){1,35}')))@

Actual behavior Citrus fails to resolve the above expression with a StringIndexOutOfBoundsException