diff --git a/mythtv/libs/libmythui/mythuibuttonlist.cpp b/mythtv/libs/libmythui/mythuibuttonlist.cpp
index 4f808bb..6a3b66e 100644
a
|
b
|
void MythUIButtonListItem::SetToRealButton(MythUIStateType *button, bool selecte |
3471 | 3471 | |
3472 | 3472 | QString newText = text->GetTemplateText(); |
3473 | 3473 | |
3474 | | QRegExp regexp("%(([^\\|%]+)?\\||\\|(.))?(\\w+)(\\|(.+))?%"); |
| 3474 | QRegExp regexp("%(([^\\|%]+)?\\||\\|(.))?(\\S+)(\\|(.+))?%"); |
3475 | 3475 | regexp.setMinimal(true); |
3476 | 3476 | |
3477 | 3477 | if (!newText.isEmpty() && newText.contains(regexp)) |
diff --git a/mythtv/libs/libmythui/mythuitext.cpp b/mythtv/libs/libmythui/mythuitext.cpp
index 74ee0e2..36e11af 100644
a
|
b
|
void MythUIText::SetTextFromMap(const InfoMap &map) |
194 | 194 | if (newText.isEmpty()) |
195 | 195 | newText = GetDefaultText(); |
196 | 196 | |
197 | | QRegExp regexp("%(([^\\|%]+)?\\||\\|(.))?(\\w+)(\\|(.+))?%"); |
| 197 | QRegExp regexp("%(([^\\|%]+)?\\||\\|(.))?(\\S+)(\\|(.+))?%"); |
198 | 198 | regexp.setMinimal(true); |
199 | 199 | |
200 | 200 | if (!newText.isEmpty() && newText.contains(regexp)) |