summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--askbot/conf/markup.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/askbot/conf/markup.py b/askbot/conf/markup.py
index f7e92bd4..07f60c39 100644
--- a/askbot/conf/markup.py
+++ b/askbot/conf/markup.py
@@ -94,10 +94,10 @@ settings.register(
'PATTERN',
description=_('Regex to detect the pattern'),
help_text=_(
- 'Enter a valid regular expression to'
+ 'Enter a valid regular expression to '
'detect the pattern. For example to'
'detect something like #rhbz 637402 '
- 'use a regular expression like r"#rhbz\s(\d+)"'
+ 'use a regular expression like #rhbz\s(\d+)'
),
default = ''
)
@@ -110,9 +110,9 @@ settings.register(
description=_('URL for autolinking'),
help_text=_(
'Let us assume that to detect a pattern #rhbz 637402'
- ' the regex is r"#rhbz\s(\d+)" '
- 'then the autolink URL should be https://bugzilla.redhat.com/show_bug.cgi?id=\\1'
- ' Where \\1 is the saved match from the regular expression'
+ ' the regex is #rhbz\s(\d+) '
+ 'then the autolink URL should be https://bugzilla.redhat.com/show_bug.cgi?id=\1'
+ ' Where \1 is the saved match (bugid) from the regular expression'
),
default = ''
)