hello, does anyone have recommendations for expres...
# pact-jvm
t
hello, does anyone have recommendations for expression to use for an email address in pattern matching? regex for email is usually very hard and not recommended, but
valueFromProviderState
seems to require an expression and example for my email address value, any recommendations here please?
r
The expression is for building the test value, not matching the value. You can just use
${email}
and then set the email attribute in the provider state data that is returned.
I think even just
email
will work
t
ok thanks