From 71a4e38c7dfa755fedce4e159674ef549dcb887b Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 25 Jan 2012 19:07:27 +0000 Subject: [PATCH] Fix over-escaping that resulted in Recombine Lines stripping 't' rather than tabs. Closes #1418. Originally committed to SVN as r6361. --- aegisub/src/subs_grid.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aegisub/src/subs_grid.cpp b/aegisub/src/subs_grid.cpp index 5c185119e..19002ab2c 100644 --- a/aegisub/src/subs_grid.cpp +++ b/aegisub/src/subs_grid.cpp @@ -62,8 +62,8 @@ SubtitlesGrid::SubtitlesGrid(wxWindow *parent, agi::Context *context, const wxS } static void trim_text(AssDialogue *diag) { - static wxRegEx start("^( |\\t|\\\\[nNh])+"); - static wxRegEx end("( |\\t|\\\\[nNh])+$"); + static wxRegEx start("^( |\t|\\\\[nNh])+"); + static wxRegEx end("( |\t|\\\\[nNh])+$"); start.ReplaceFirst(&diag->Text, ""); end.ReplaceFirst(&diag->Text, ""); }