Tornado 6.5 Documentationwith the StaticFileHandler, though it is physically in the static file directory. (The capturing group in that regular expression is necessary to tell StaticFileHandler the requested filename; recall that groups in the regular expression become arguments to the HTTP verb methods (keyword arguments if the group is named, positional arguments if it’s unnamed). To support a method not on this list, override the argument, which specifies the local root directory of the content to be served. Note that a capture group in the regex is required to parse the value for the path argument to the get() method (different than0 码力 | 272 页 | 1.12 MB | 3 月前3
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 | 4 月前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 | 4 月前3
Tornado 6.5 Documentationwith the StaticFileHandler, though it is physically in the static file directory. (The capturing group in that regular expression is necessary to tell StaticFileHandler the requested filename; recall that groups in the regular expression become arguments to the HTTP verb methods (keyword arguments if the group is named, positional arguments if it’s unnamed). To support a method not on this list, override the argument, which specifies the local root directory of the content to be served. Note that a capture group in the regex is required to parse the value for the path argument to the get() method (different than0 码力 | 437 页 | 405.14 KB | 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 | 4 月前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 | 4 月前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 | 4 月前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 | 4 月前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 | 4 月前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 | 4 月前3
共 14 条
- 1
- 2













