We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b2c527 commit 13edccaCopy full SHA for 13edcca
src/logical.rs
@@ -36,7 +36,7 @@ pub fn nor<T>(options: &[T]) -> HumanRegex
36
where
37
T: Into<String> + fmt::Display,
38
{
39
- HumanRegex(or(options).to_string().replacen("[", "[^", 1))
+ HumanRegex(format!("[{}]", or(options).to_string()).replacen("[", "[^", 1))
40
}
41
42
/// Xor on two bracketed expressions, also known as symmetric difference.
0 commit comments