crowdsec/pkg/exprhelpers
Laurence Jones 4fbc3402fb
Update KV ignore whitespace before and after = (#2236)
* Update KV ignore whitespace before and after `=`

* Update helpers.go

Don't need whitespace infront of KEY

* Add some tests to ensure edge cases

* Ensure quoted and unquoted values act the same
2023-05-26 15:35:46 +01:00
..
tests skip empty lines to avoid issue of #630 (#631) 2021-02-25 09:57:24 +01:00
crowdsec_cti.go use expr.Function for custom functions instead of passing them in the env (#2133) 2023-03-28 10:49:01 +02:00
crowdsec_cti_test.go use expr.Function for custom functions instead of passing them in the env (#2133) 2023-03-28 10:49:01 +02:00
expr_lib.go Add ParseKV helper and rework UnmarshalJSON as a proper helper (#2184) 2023-05-12 09:43:01 +02:00
exprlib_test.go Update KV ignore whitespace before and after = (#2236) 2023-05-26 15:35:46 +01:00
helpers.go Update KV ignore whitespace before and after = (#2236) 2023-05-26 15:35:46 +01:00
jsonextract.go fix the behavior of json unmarshal to not return the full map (#2199) 2023-05-16 09:10:38 +02:00
jsonextract_test.go Add ParseKV helper and rework UnmarshalJSON as a proper helper (#2184) 2023-05-12 09:43:01 +02:00
strings.go add a LogInfo expr helper (#2179) 2023-05-03 10:07:11 +02:00
visitor.go Minor cleanup and dead code removal (#2166) 2023-04-12 16:57:38 +02:00
visitor_test.go actually fix expr-debugger to work with the new version (#2124) 2023-03-16 15:20:48 +01:00
xml.go use expr.Function for custom functions instead of passing them in the env (#2133) 2023-03-28 10:49:01 +02:00
xml_test.go use expr.Function for custom functions instead of passing them in the env (#2133) 2023-03-28 10:49:01 +02:00