julia 1.10.10Captures can also be accessed by indexing the RegexMatch object with the number or name of the capture group: julia> m=match(r"(?\d+):(? \d+)","12:45") RegexMatch("12:45", hour="12", minute="45") string when using replace by using \n to refer to the nth capture group and prefixing the substitution string with s. Capture group 0 refers to the entire match object. Named capture groups can be referenced however! using Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket() bind(socket, ip"0.0.0.0", 6789)CHAPTER 21. NETWORKING AND STREAMS 291 join_multicast_group(socket, group) println(String(recv(socket))) 0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.10.9Captures can also be accessed by indexing the RegexMatch object with the number or name of the capture group: julia> m=match(r"(?\d+):(? \d+)","12:45") RegexMatch("12:45", hour="12", minute="45") string when using replace by using \n to refer to the nth capture group and prefixing the substitution string with s. Capture group 0 refers to the entire match object. Named capture groups can be referenced however! using Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket() bind(socket, ip"0.0.0.0", 6789)CHAPTER 21. NETWORKING AND STREAMS 291 join_multicast_group(socket, group) println(String(recv(socket))) 0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.8.0 DEV DocumentationCaptures can also be accessed by indexing the RegexMatch object with the number or name of the capture group: julia> m=match(r"(?\d+):(? \d+)","12:45") RegexMatch("12:45", hour="12", minute="45") string when using replace by using \n to refer to the nth capture group and prefixing the substitution string with s. Capture group 0 refers to the entire match object. Named capture groups can be referenced Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket() bind(socket, ip"0.0.0.0", 6789) join_multicast_group(socket, group) println(String(recv(socket))) leave_multicast_group(socket, group) close(socket) 0 码力 | 1463 页 | 5.01 MB | 1 年前3
Julia 1.11.4Captures can also be accessed by indexing the RegexMatch object with the number or name of the capture group: julia> m=match(r"(?\d+):(? \d+)","12:45") RegexMatch("12:45", hour="12", minute="45") string when using replace by using \n to refer to the nth capture group and prefixing the substitution string with s. Capture group 0 refers to the entire match object. Named capture groups can be referenced Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket() bind(socket, ip"0.0.0.0", 6789) join_multicast_group(socket, group) println(String(recv(socket))) leave_multicast_group(socket, group) close(socket) 0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.5 DocumentationCaptures can also be accessed by indexing the RegexMatch object with the number or name of the capture group: julia> m=match(r"(?\d+):(? \d+)","12:45") RegexMatch("12:45", hour="12", minute="45") string when using replace by using \n to refer to the nth capture group and prefixing the substitution string with s. Capture group 0 refers to the entire match object. Named capture groups can be referenced Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket() bind(socket, ip"0.0.0.0", 6789) join_multicast_group(socket, group) println(String(recv(socket))) leave_multicast_group(socket, group) close(socket) 0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia v1.9.4 DocumentationCaptures can also be accessed by indexing the RegexMatch object with the number or name of the capture group: julia> m=match(r"(?\d+):(? \d+)","12:45") RegexMatch("12:45", hour="12", minute="45") string when using replace by using \n to refer to the nth capture group and prefixing the substitution string with s. Capture group 0 refers to the entire match object. Named capture groups can be referenced Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket() bind(socket, ip"0.0.0.0", 6789) join_multicast_group(socket, group) println(String(recv(socket))) leave_multicast_group(socket, group) close(socket) 0 码力 | 1644 页 | 5.27 MB | 1 年前3
Julia 1.9.0 DEV DocumentationCaptures can also be accessed by indexing the RegexMatch object with the number or name of the capture group: julia> m=match(r"(?\d+):(? \d+)","12:45") RegexMatch("12:45", hour="12", minute="45") string when using replace by using \n to refer to the nth capture group and prefixing the substitution string with s. Capture group 0 refers to the entire match object. Named capture groups can be referenced Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket() bind(socket, ip"0.0.0.0", 6789) join_multicast_group(socket, group) println(String(recv(socket))) leave_multicast_group(socket, group) close(socket) 0 码力 | 1633 页 | 5.23 MB | 1 年前3
Julia 1.9.3 DocumentationCaptures can also be accessed by indexing the RegexMatch object with the number or name of the capture group: julia> m=match(r"(?\d+):(? \d+)","12:45") RegexMatch("12:45", hour="12", minute="45") string when using replace by using \n to refer to the nth capture group and prefixing the substitution string with s. Capture group 0 refers to the entire match object. Named capture groups can be referenced Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket() bind(socket, ip"0.0.0.0", 6789) join_multicast_group(socket, group) println(String(recv(socket))) leave_multicast_group(socket, group) close(socket) 0 码力 | 1644 页 | 5.27 MB | 1 年前3
Julia 1.9.0 rc2 DocumentationCaptures can also be accessed by indexing the RegexMatch object with the number or name of the capture group: julia> m=match(r"(?\d+):(? \d+)","12:45") RegexMatch("12:45", hour="12", minute="45") string when using replace by using \n to refer to the nth capture group and prefixing the substitution string with s. Capture group 0 refers to the entire match object. Named capture groups can be referenced Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket() bind(socket, ip"0.0.0.0", 6789) join_multicast_group(socket, group) println(String(recv(socket))) leave_multicast_group(socket, group) close(socket) 0 码力 | 1644 页 | 5.27 MB | 1 年前3
Julia 1.10.0 DEV DocumentationCaptures can also be accessed by indexing the RegexMatch object with the number or name of the capture group: julia> m=match(r"(?\d+):(? \d+)","12:45") RegexMatch("12:45", hour="12", minute="45") string when using replace by using \n to refer to the nth capture group and prefixing the substitution string with s. Capture group 0 refers to the entire match object. Named capture groups can be referenced however! using Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket() bind(socket, ip"0.0.0.0", 6789) CHAPTER 21. NETWORKING AND STREAMS 290 join_multicast_group(socket, group) println(String(recv(socket))) 0 码力 | 1678 页 | 5.95 MB | 1 年前3
共 87 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













