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 ddeb85e commit af57064Copy full SHA for af57064
regex-automata/src/dfa/sparse.rs
@@ -1846,6 +1846,14 @@ impl StartTable<Vec<u8>> {
1846
let new_start_id = remap[dfa.to_index(old_start_id)];
1847
sl.set_start(anchored, sty, new_start_id);
1848
}
1849
+ for ustart in [
1850
+ &mut sl.universal_start_unanchored,
1851
+ &mut sl.universal_start_anchored,
1852
+ ] {
1853
+ if let Some(id) = ustart {
1854
+ *id = remap[dfa.to_index(*id)];
1855
+ }
1856
1857
Ok(sl)
1858
1859
0 commit comments