ableos_userland/libraries/uri/src/main.rs

13 lines
435 B
Rust
Raw Normal View History

2023-05-03 03:39:34 -05:00
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);
}
}