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 6fee5f6 commit 70cd9a0Copy full SHA for 70cd9a0
regex-syntax/src/hir/mod.rs
@@ -2589,6 +2589,8 @@ impl Properties {
2589
literal: false,
2590
alternation_literal: false,
2591
contains_lookaround_expr: true,
2592
+ // We do not want look-around subexpressions to influence matching
2593
+ // of the main expression when they contain anchors, so we clear the set.
2594
look_set_prefix: LookSet::empty(),
2595
look_set_suffix: LookSet::empty(),
2596
..*sub_p.0.clone()
0 commit comments