matchit icon indicating copy to clipboard operation
matchit copied to clipboard

path_ignore_case fails with a non-ASCII first character

Open 5225225 opened this issue 3 years ago • 1 comments

test case:

#[test]
fn test_non_ascii() {
    let mut tree = Node::new();
    tree.insert("x:x", ());
    tree.path_ignore_case("£", false);
}

5225225 avatar May 16 '21 18:05 5225225

Oddly, this passes:

#[test]
fn test_non_ascii() {
    let mut tree = Node::new();
    tree.insert("x:x", ());
    tree.path_ignore_case("/£", false);
}

ibraheemdev avatar May 17 '21 22:05 ibraheemdev