Fix regexes to warn about compression
By not including the potential argument in the pattern: - comp-lzo *always* raises a warning - compress *never* raises a warning
This commit is contained in:
parent
af870e2a84
commit
4870e2233d
|
@ -53,9 +53,9 @@ extension TunnelKitProvider.Configuration {
|
||||||
|
|
||||||
static let auth = Utils.regex("^auth +[\\w\\-]+")
|
static let auth = Utils.regex("^auth +[\\w\\-]+")
|
||||||
|
|
||||||
static let compLZO = Utils.regex("^comp-lzo")
|
static let compLZO = Utils.regex("^comp-lzo.*")
|
||||||
|
|
||||||
static let compress = Utils.regex("^compress")
|
static let compress = Utils.regex("^compress.*")
|
||||||
|
|
||||||
static let ping = Utils.regex("^ping +\\d+")
|
static let ping = Utils.regex("^ping +\\d+")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue