Error on CF Doc

The expression in:

is not balanced and won’t validate:

(ip.geoip.asnum in {7224 15169}) and not cf.client.bot)

It should be:

((ip.geoip.asnum in {7224 15169}) and not cf.client.bot)

(Missing second parenthesis.)
-Brian

Thank you for pointing this out. I’ve made a request to fix the docs

1 Like

Either wrong :thinking:

However, I wonder if the double brackets are actually needed because I got error with double? :thinking:

Should be:
(ip.geoip.asnum in {7224 15169} and not cf.client.bot)

2 Likes

I just checked and they are not. I’ve edited my PR

2 Likes

I don’t even think the parenthesis are required at all, given how it’s displayed…

It works either way. Given the rest of the examples use them, I left them in.

2 Likes

That’s because the “Expression Builder” generates them that way, I guess.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.