From 28007df0bc6e944901486e337387787e2d7ddc69 Mon Sep 17 00:00:00 2001 From: Arun SAG Date: Sun, 18 Sep 2011 18:13:35 +0530 Subject: Fix examples in autolink settings --- askbot/conf/markup.py | 10 +++++----- 1 file 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 = '' ) -- cgit v1.2.3-1-g7c22