Find URI in text: Difference between revisions

Content added Content deleted
Line 232: Line 232:
We matched ftp://domain.name/dangling_close_paren), which is a Match, at position 554 to 593</pre>
We matched ftp://domain.name/dangling_close_paren), which is a Match, at position 554 to 593</pre>


That last lines show that we get back Match objects that we can query to get all kinds of information.
The last lines show that we get Match objects back that we can query to get all kinds of information.
We even get the information what subrules matched, and since these are also Match objects we can obtain
We even get the information what subrules matched, and since these are also Match objects we can obtain
their match position in the text.
their match position in the text.