Generalize cipher regex
This commit is contained in:
parent
d72b583900
commit
e7dadefabb
|
@ -80,7 +80,7 @@ public class ConfigurationParser {
|
||||||
|
|
||||||
static let remote = NSRegularExpression("^remote +[^ ]+( +\\d+)?( +(udp6?|tcp6?))?")
|
static let remote = NSRegularExpression("^remote +[^ ]+( +\\d+)?( +(udp6?|tcp6?))?")
|
||||||
|
|
||||||
static let cipher = NSRegularExpression("^cipher +[\\w\\-]+")
|
static let cipher = NSRegularExpression("^cipher +[^,\\s]+")
|
||||||
|
|
||||||
static let auth = NSRegularExpression("^auth +[\\w\\-]+")
|
static let auth = NSRegularExpression("^auth +[\\w\\-]+")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue