File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
regex-automata/src/nfa/thompson Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1185,6 +1185,7 @@ impl NFA {
11851185 + self . 0 . states . len ( ) * size_of :: < State > ( )
11861186 + self . 0 . start_pattern . len ( ) * size_of :: < StateID > ( )
11871187 + self . 0 . group_info . memory_usage ( )
1188+ + self . 0 . start_look_behind . len ( ) * size_of :: < StateID > ( )
11881189 + self . 0 . memory_extra
11891190 }
11901191}
@@ -1276,7 +1277,7 @@ pub(super) struct Inner {
12761277 /// This is needed to initialize the table for storing the result of
12771278 /// look-around evaluation.
12781279 lookaround_count : usize ,
1279- /// Contains the start states for each of the look-behind subexpressions.
1280+ /// Contains the start state for each of the look-behind subexpressions.
12801281 start_look_behind : Vec < StateID > ,
12811282 /// Heap memory used indirectly by NFA states and other things (like the
12821283 /// various capturing group representations above). Since each state
You can’t perform that action at this time.
0 commit comments