Created
June 26, 2020 20:27
-
-
Save spdegabrielle/e1c8debd75cdbd0cd23f94619ecefc23 to your computer and use it in GitHub Desktop.
match url
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#lang racket/base | |
(provide match-url) | |
(define (match-url str) | |
(regexp-match-positions* #px"https?\\://\\S+" str)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment