Skip to content

Commit 1ec885a

Browse files
Multimodcraftershilangyu
authored andcommitted
Show look-behind starts in nfa debug print
1 parent 5cc52ea commit 1ec885a

File tree

1 file changed

+2
-0
lines changed
  • regex-automata/src/nfa/thompson

1 file changed

+2
-0
lines changed

regex-automata/src/nfa/thompson/nfa.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1501,6 +1501,8 @@ impl fmt::Debug for Inner {
15011501
'^'
15021502
} else if sid == self.start_unanchored {
15031503
'>'
1504+
} else if self.start_look_behind.contains(&sid) {
1505+
'<'
15041506
} else {
15051507
' '
15061508
};

0 commit comments

Comments
 (0)