Skip to content

Commit 13edcca

Browse files
committed
Logicals fixed
1 parent 4b2c527 commit 13edcca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/logical.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub fn nor<T>(options: &[T]) -> HumanRegex
3636
where
3737
T: Into<String> + fmt::Display,
3838
{
39-
HumanRegex(or(options).to_string().replacen("[", "[^", 1))
39+
HumanRegex(format!("[{}]", or(options).to_string()).replacen("[", "[^", 1))
4040
}
4141

4242
/// Xor on two bracketed expressions, also known as symmetric difference.

0 commit comments

Comments
 (0)