Fields (9) Methods (1)
Namespace: SchwabenCode.QuickIO

Syntax

public static class QuickIOPatterns

Summary

Pattern Collection

Fields

FolderNamePattern

Matching Folder Name

public const String FolderNamePattern

Constant Value

[a-zA-Z0-9_]+

Remarks

[a-zA-Z0-9_]+

IPv4Pattern

Pattern to match IPv4

public const String IPv4Pattern

Constant Value

(((([1]?\d)?\d|2[0-4]\d|25[0-5])\.){3}(([1]?\d)?\d|2[0-4]\d|25[0-5]))

Remarks

(((([1]?\d)?\d|2[0-4]\d|25[0-5]).){3}(([1]?\d)?\d|2[0-4]\d|25[0-5]))

IPv4v6Pattern

Pattern to match IPv4 and IPv6

public const String IPv4v6Pattern

Constant Value

(((([1]?\d)?\d|2[0-4]\d|25[0-5])\.){3}(([1]?\d)?\d|2[0-4]\d|25[0-5]))|([\da-fA-F]{1,4}(\:[\da-fA-F]{1,4}){7})|(([\da-fA-F]{1,4}:){0,5}::([\da-fA-F]{1,4}:){0,5}[\da-fA-F]{1,4})

Remarks

([\da-fA-F]{1,4}(\:[\da-fA-F]{1,4}){7})|(([\da-fA-F]{1,4}:){0,5}::([\da-fA-F]{1,4}:){0,5}[\da-fA-F]{1,4})|(((([1]?\d)?\d|2[0-4]\d|25[0-5]).){3}(([1]?\d)?\d|2[0-4]\d|25[0-5]))

IPv6Pattern

Pattern to match IPv6

public const String IPv6Pattern

Constant Value

([\da-fA-F]{1,4}(\:[\da-fA-F]{1,4}){7})|(([\da-fA-F]{1,4}:){0,5}::([\da-fA-F]{1,4}:){0,5}[\da-fA-F]{1,4})

Remarks

([\da-fA-F]{1,4}(\:[\da-fA-F]{1,4}){7})|(([\da-fA-F]{1,4}:){0,5}::([\da-fA-F]{1,4}:){0,5}[\da-fA-F]{1,4})

OptionalSperatorPattern

Optional UNC Separator

public const String OptionalSperatorPattern

Constant Value

\\{0,1}

Remarks

\{0,1}

RegularSharePattern

Pattern matching share path

public const String RegularSharePattern

Constant Value

(?(?\\\\(?[a-zA-Z0-9_]+|(((([1]?\d)?\d|2[0-4]\d|25[0-5])\.){3}(([1]?\d)?\d|2[0-4]\d|25[0-5]))|([\da-fA-F]{1,4}(\:[\da-fA-F]{1,4}){7})|(([\da-fA-F]{1,4}:){0,5}::([\da-fA-F]{1,4}:){0,5}[\da-fA-F]{1,4}))\\(?[a-zA-Z0-9_]+))\\{0,1}\\{0,1}(?((\\([a-zA-Z0-9_]+)){0,})))\\{0,1}

RegularShareRootPattern

Pattern matching share root

public const String RegularShareRootPattern

Constant Value

(?\\\\(?[a-zA-Z0-9_]+|(((([1]?\d)?\d|2[0-4]\d|25[0-5])\.){3}(([1]?\d)?\d|2[0-4]\d|25[0-5]))|([\da-fA-F]{1,4}(\:[\da-fA-F]{1,4}){7})|(([\da-fA-F]{1,4}:){0,5}::([\da-fA-F]{1,4}:){0,5}[\da-fA-F]{1,4}))\\(?[a-zA-Z0-9_]+))\\{0,1}

ServerNamePattern

Matching Server Name

public const String ServerNamePattern

Constant Value

[a-zA-Z0-9_]+

Remarks

[a-zA-Z0-9_]+

ShareNamePattern

Matching QuickIOShareInfo Name

public const String ShareNamePattern

Constant Value

[a-zA-Z0-9_]+

Remarks

[a-zA-Z0-9_]+

Methods

GetStrict(String pattern)

Returns ^pattern$

public static String GetStrict(String pattern)