Fix regex for finding section in cache loading.

This commit is contained in:
2026-04-01 13:41:14 +02:00
parent da32b78e98
commit 08e675166c

2
ccc
View File

@@ -192,7 +192,7 @@ sub extract_section_numbers {
my @sections;
# Find section header numbers with Windows lines
while($html =~ /\r\n<[pP] class=MsoNormal[^>]*>(<i[^>]*>)?(\d{1,4})/g) {
while($html =~ /\r\n<[pP] class=MsoNormal[^>]*>(<i[^>]*>)?(\d{1,4})\s+/g) {
my $section_num = $2;
push @sections, $section_num;
}