3 releases
0.1.2 | Nov 20, 2022 |
---|---|
0.1.1 | Nov 1, 2022 |
0.1.0 | Nov 1, 2022 |
#1133 in Text processing
2,714 downloads per month
6KB
82 lines
Documentation
fn collapse(s: &str) -> String;
#[macro_use]
use collapse::*;
collapsed_eq!("two spaces", "two spaces");
collapsed_eq!("new\r\nlines", "new\nlines");
collapsed_eq!(" lead \t tail \r", "lead tail");
lib.rs
:
Functions and macros to compare strings, ignoring whitespace