Skip to content

Commit 46a5aa5

Browse files
committed
up
1 parent 55ea9e1 commit 46a5aa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crowdsec-docs/docs/expr/strings_helpers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Parses an URI into a map of string list.
5858

5959
`ExtractQueryParam` extract the `param` parameter value from the URL query `query` and returns the list of values.
6060

61-
> `any(ExtractQueryParam(uri, "id"), { # == "1" })` returns true fs any of the `id` parameter value from `uri` URI equals to `1`
61+
> `any(ExtractQueryParam("/foo?id=1&b=2", "id"), { # == "1" })` returns true as at least one of the `id` parameter value is equal to `1`
6262
6363
### `Sprintf(format string, a ...interface{}) string`
6464

0 commit comments

Comments
 (0)