#regex #dirty #quick #tool #helping

bin+lib qndr

A quick and dirty regex helping tool

1 unstable release

0.1.7 Nov 10, 2021
0.1.6 Oct 26, 2021

#8 in #dirty

Download history 8/week @ 2024-01-08 3/week @ 2024-01-15 66/week @ 2024-01-22 29/week @ 2024-01-29 24/week @ 2024-02-05 9/week @ 2024-02-12 64/week @ 2024-02-26 26/week @ 2024-03-04 49/week @ 2024-03-11 40/week @ 2024-03-18 28/week @ 2024-03-25 46/week @ 2024-04-01 18/week @ 2024-04-08 30/week @ 2024-04-15

124 downloads per month
Used in 4 crates (2 directly)

MIT/Apache

14KB
292 lines

QNDR - Quick and Dirty Regex


Simple and useful methods for simple Regex operations.


Documentation


QNDR exports (25 something) simple and useful methods for simple regex operations. This library has no dependencies.

Example

please see the documentation for details of methods

use qndr;

fn main(){
let result_a = qndr::begin_with_alphanumeric(&String::from("!!!!Hayyy"));
assert_eq!(false,result_a);

let result_b = qndr::begin_with_alphabet(&String::from("_1234?"));
assert_eq!(false,result_b);

let result_c = qndr::allow_alphabets_only(&String::from("0123456789"));
assert_eq!(false,result_c);

let result_d = qndr::allow_alphanumeric_only(&String::from(" "));
assert_eq!(false,result_d);

println!("All operations completed...");
}

23-oct-2021

This is very simple but useful crate. Main purpose of this library is for teaching and educational purposes. All the documents and tests are well maintained. Incase of any problem please contact me and I will take care of it. You are encouraged to look at the code and point out any problems or errors. I will add features only if they are very valid.


No runtime deps