Skip to content

Case insensitive regex #4007

Answered by jcamiel
skeggse asked this question in Q&A
May 2, 2025 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @skeggse

It's not written in the doc (once again 😅) but we use the Rust crate regex for regex https://docs.rs/regex/latest/regex/#syntax where (?flag) should work:

[Asserts]
jsonpath "$.message" matches /(?i)response/

Can you try it and confirm me if it's working? I'll create an issue to update the docs with the link to the format we're using. We should also have proper lowercase/uppercase filters.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@skeggse
Comment options

Answer selected by jcamiel
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