Module: check_mk
Branch: master
Commit: 72ae1c9e6ae5b7683d43bfbb9e3fa5b5a83aac41
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=72ae1c9e6ae5b7…
Author: Götz Golla <gg(a)mathias-kettner.de>
Date: Tue Dec 10 16:15:53 2013 +0100
Help text for regular expression usage fixed
---
web/htdocs/wato.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index b859558..c08715d 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -12341,7 +12341,7 @@ def HostnameTranslation(**kwargs):
help = _("Please specify a regular expression in the first field.
This expression should at "
"least contain one subexpression exclosed in brackets -
for example <tt>vm_(.*)_prod</tt>. "
"In the second field you specify the translated host name
and can refer to the first matched "
- "group with <tt>\1</tt>, the second with
<tt>\2</tt> and so on, for example
<tt>\1.example.org</tt>"),
+ "group with <tt>\\1</tt>, the second with
<tt>\\2</tt> and so on, for example
<tt>\\1.example.org</tt>"),
elements = [
RegExpUnicode(
title = _("Regular expression"),