v24.8 Config Searcher: regex
Tools - Config Searcher
I want to search configs that have the string ABCDEF but not ABCDEFG
I've Googled and ChatGPTd but to no avail
Ideas?
Cheers
Ed
Tools - Config Searcher
I want to search configs that have the string ABCDEF but not ABCDEFG
I've Googled and ChatGPTd but to no avail
Ideas?
Cheers
Ed
Comments
1 comment
Something seems a little off, I just tried the equivalent of ABCDEF(?!G) but got a 'CGI error.' Negative lookaheads work with the regex checker tool, so I would expect them to work with the config searcher as well, 'negate search' checkbox notwithstanding.
If you expect the substring to be space-delimited or the end of the line you could use ABCDEF\s or ABCDEF$.
Please sign in to leave a comment.