Adven27 / Exam

Extension for Concordion BDD Framework
MIT License
17 stars 4 forks source link

Add regexp support to json date matchers #55

Closed MetallFoX closed 2 years ago

MetallFoX commented 2 years ago

Json date matchers doesn't support regexp.

DateTimeFormatter treats yyyy-MM-dd'T'HH:mm:ss[.SSSSSS] as a correct date format pattern. {{formattedAndWithinNow 'yyyy-MM-dd'T'HH:mm:ss[.SSSSSS]' '1d'} matcher doesn't work.

It would be nice to have such a function.