Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to find node case insensitively #50

Open
KaiqianYang opened this issue Nov 24, 2022 · 0 comments
Open

Is there a way to find node case insensitively #50

KaiqianYang opened this issue Nov 24, 2022 · 0 comments

Comments

@KaiqianYang
Copy link

KaiqianYang commented Nov 24, 2022

Hello, I have a problem of finding node case insensitively that needing help.

image

I want to find whether the node configuration.appender.console exists, ignoring case sensitivity, so that it can match in all the three above cases. I know regex can be used in value filter like "$[*]["appenders"]["console"][?(@.name=~/(?i)stdout/)]", but how do i match the key of node ignoring case sensitivity?

Now I write $[*]["appenders","Appenders"][?(@.console || @.Console)], but this can only match case 1 and case 2.

Looking forward to response, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant