13 lines
435 B
Rust
13 lines
435 B
Rust
|
use logos::Logos;
|
||
|
use uri::Token;
|
||
|
|
||
|
fn main() {
|
||
|
let lex = Token::lexer("http://ablecorp.us:112?hello#ABC");
|
||
|
let lex = Token::lexer("tel:+1-816-555-1212");
|
||
|
let lex = Token::lexer("https://www.amazon.com/Apple-EarPods-3-5mm-Headphone-Plug/dp/B06X16Z7DZ/ref=sr_1_3?crid=1L0TPYCPI8BU5&keywords=wired+ear+buds&qid=1683087424&sprefix=wired+ear+buds%2Caps%2C117&sr=8-3");
|
||
|
|
||
|
for br in lex {
|
||
|
println!("{:?}", br);
|
||
|
}
|
||
|
}
|