diff options
author | Arun SAG <sagarun@gmail.com> | 2011-09-18 18:13:35 +0530 |
---|---|---|
committer | Arun SAG <sagarun@gmail.com> | 2011-09-18 18:13:35 +0530 |
commit | 28007df0bc6e944901486e337387787e2d7ddc69 (patch) | |
tree | 062a49bbb369881cf6946bdedf73a6de3e39c8bd | |
parent | 015a46ddf251032155cec161fed8300d15c6537f (diff) | |
download | askbot-28007df0bc6e944901486e337387787e2d7ddc69.tar.gz askbot-28007df0bc6e944901486e337387787e2d7ddc69.tar.bz2 askbot-28007df0bc6e944901486e337387787e2d7ddc69.zip |
Fix examples in autolink settings
-rw-r--r-- | askbot/conf/markup.py | 10 |
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 = '' ) |