diff --git a/src/search.cpp b/src/search.cpp index d409704..b96002c 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -117,7 +117,7 @@ std::vector search(const fs::path &filepath, void cleanup_text(string &text) { static const boost::regex re_header_start{"<[hH][1-6]"}; - static const boost::regex re_header_end{""; } - else if (boost::regex_match(text.substr(pos, 3), re_header_end)) + else if (boost::regex_match(text.substr(pos, 4), re_header_end)) { replacement = ""; } diff --git a/translations/de.po b/translations/de.po index 200eebf..343fcd5 100644 --- a/translations/de.po +++ b/translations/de.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: epubgrep 0.4.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-05-29 18:42+0200\n" -"PO-Revision-Date: 2021-05-29 18:42+0200\n" +"POT-Creation-Date: 2021-05-29 22:16+0200\n" +"PO-Revision-Date: 2021-05-29 22:16+0200\n" "Last-Translator: tastytea \n" "Language-Team: tastytea \n" "Language: de\n" @@ -181,6 +181,3 @@ msgstr "Konnte {0:s} nicht schließen." msgid "{0:s} is damaged. Could not read spine. Skipping file.\n" msgstr "" "{0:s} ist beschädigt. Konnte „Spine“ nicht lesen. Überspringe Datei.\n" - -#~ msgid " (while searching {0:s})" -#~ msgstr " (während {0:s} durchsucht wurde)"