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.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 1.11.6 Release NotesCaptures 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.13.0 DEVCaptures 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 码力 | 2058 页 | 7.45 MB | 3 月前3
Julia 1.12.0 RC1Captures 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 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta4Captures 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 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta3Captures 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 码力 | 2057 页 | 7.44 MB | 3 月前3
julia 1.12.0 beta1Captures 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 码力 | 2047 页 | 7.41 MB | 3 月前3
共 23 条
- 1
- 2
- 3













