From 87d772a7d708fec12f48cd8adc0dedff6e1025da Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 26 Aug 2024 10:15:20 +0200 Subject: Adding upstream version 1.47.0. Signed-off-by: Daniel Baumann --- src/go/collectors/go.d.plugin/pkg/matcher/doc.go | 40 ------------------------ 1 file changed, 40 deletions(-) delete mode 100644 src/go/collectors/go.d.plugin/pkg/matcher/doc.go (limited to 'src/go/collectors/go.d.plugin/pkg/matcher/doc.go') diff --git a/src/go/collectors/go.d.plugin/pkg/matcher/doc.go b/src/go/collectors/go.d.plugin/pkg/matcher/doc.go deleted file mode 100644 index 33b06988d..000000000 --- a/src/go/collectors/go.d.plugin/pkg/matcher/doc.go +++ /dev/null @@ -1,40 +0,0 @@ -// SPDX-License-Identifier: GPL-3.0-or-later - -/* -Package matcher implements vary formats of string matcher. - -Supported Format - - string - glob - regexp - simple patterns - -The string matcher reports whether the given value equals to the string ( use == ). - -The glob matcher reports whether the given value matches the wildcard pattern. -The pattern syntax is: - - pattern: - { term } - term: - '*' matches any sequence of characters - '?' matches any single character - '[' [ '^' ] { character-range } ']' - character class (must be non-empty) - c matches character c (c != '*', '?', '\\', '[') - '\\' c matches character c - - character-range: - c matches character c (c != '\\', '-', ']') - '\\' c matches character c - lo '-' hi matches character c for lo <= c <= hi - -The regexp matcher reports whether the given value matches the RegExp pattern ( use regexp.Match ). -The RegExp syntax is described at https://golang.org/pkg/regexp/syntax/. - -The simple patterns matcher reports whether the given value matches the simple patterns. -The simple patterns is a custom format used in netdata, -it's syntax is described at https://docs.netdata.cloud/libnetdata/simple_pattern/. -*/ -package matcher -- cgit v1.2.3