Skip to content
Discussion options

You must be logged in to vote

Hi @marksugar !

What you have:

condition = '.body == "*WebApplicationContext*"'

Will match body against the literal string "*WebApplicationContext*". I think what you want is:

condition = "match!(.body, r`.*WebApplicationContext.*')"

To match body against a regular expression.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@marksugar
Comment options

@jszwedko
Comment options

Answer selected by pront
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants