*: [0.27] don't exclude resources, if exclude option is empty. (#1679)

This commit is contained in:
Jan-Otto Kröpke 2024-10-10 16:48:49 +02:00 committed by GitHub
parent 1e381f860d
commit a0f6d3bcf9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,6 @@ package types
import "regexp" import "regexp"
var ( var (
RegExpAny = regexp.MustCompile(".+") RegExpAny = regexp.MustCompile("^.+$")
RegExpEmpty = regexp.MustCompile("") RegExpEmpty = regexp.MustCompile("^$")
) )