Find URI in text: Difference between revisions

m
→‎{{header|jq}}: documentation
(jq)
m (→‎{{header|jq}}: documentation)
Line 200:
 
The following uses essentially the same regular expression as is used in the [[#Tcl]] article (as of June 2015), and the results using the given input text are identical. Note in particular that scheme-only strings such as "stop:" are not extracted.
<lang jq># input: ana arrayJSON of stringsstring
# output: a stream of URIs
# Each input string may contain more than one URI.
Line 229:
ftp://domain.name/path/embedded?punct/uation.
ftp://domain.name/dangling_close_paren)</lang>
 
 
=={{header|Perl 6}}==
2,458

edits