From 08e675166c616e489e41f9b26d5b6b2436d6d58d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Wed, 1 Apr 2026 13:41:14 +0200 Subject: [PATCH] Fix regex for finding section in cache loading. --- ccc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccc b/ccc index 4517aed..31a9c54 100755 --- a/ccc +++ b/ccc @@ -192,7 +192,7 @@ sub extract_section_numbers { my @sections; # Find section header numbers with Windows lines - while($html =~ /\r\n<[pP] class=MsoNormal[^>]*>(]*>)?(\d{1,4})/g) { + while($html =~ /\r\n<[pP] class=MsoNormal[^>]*>(]*>)?(\d{1,4})\s+/g) { my $section_num = $2; push @sections, $section_num; }