From 37f41b4f9036fd291c51e8943b33d40fd9ca5e41 Mon Sep 17 00:00:00 2001 From: Nordine Bittich Date: Sat, 23 Nov 2024 10:03:13 +0100 Subject: [PATCH] be more flexible with labeled bnode extraction --- src/triple_common_parser.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/triple_common_parser.rs b/src/triple_common_parser.rs index ce34ece..9c62376 100644 --- a/src/triple_common_parser.rs +++ b/src/triple_common_parser.rs @@ -357,7 +357,13 @@ pub(crate) mod triple { let parse_label = delimited( tag(BLANK_NODE_LABEL), take_while(|s: char| { - !s.is_whitespace() && s != '.' && s != ';' && s != '<' && s != '(' && s != '[' + !s.is_whitespace() + && s != '.' + && s != ';' + && s != '<' + && s != '(' + && s != '[' + && s != '"' }), space0, );