Skip to content

Commit b3a6269

Browse files
committed
eternal quest for a proper URL regex
1 parent db8f2ca commit b3a6269

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use regex::Regex;
1111
use skim::{Skim, SkimOptionsBuilder};
1212
use structopt::StructOpt;
1313

14-
const URL_REGEX: &str = r"(http(s)?://[a-zA-Z0-9_/?+&.=@%#;~-]+)";
14+
const URL_REGEX: &str = r"(http(s)?://[a-zA-Z0-9_/?+&.=@%#;~:-]+)";
1515

1616
#[derive(Debug, StructOpt)]
1717
#[structopt(name = "leth", about = "URL extractor intended to be used within mutt")]

0 commit comments

Comments
 (0)