mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Getting closer to mw2html behaviour - cunning RegEx expression due to David B.
This commit is contained in:
@@ -298,7 +298,8 @@ void HelpSystem::ShowHelpDialog(wxWindow *parent,
|
||||
// Replace spaces with "+"
|
||||
releasePageName.Replace(wxT(" "), wxT("+"), true);
|
||||
// Reduce multiple underscores to single underscores
|
||||
releasePageName.Replace(wxT("__"), wxT("_"), true);
|
||||
re.Compile(wxT("__+"));
|
||||
re.ReplaceAll(&releasePageName, (wxT("_")));
|
||||
// Replace "_." with "."
|
||||
releasePageName.Replace(wxT("_."), wxT("."), true);
|
||||
// Concatenate file name with file extension and anchor.
|
||||
|
||||
Reference in New Issue
Block a user