summaryrefslogtreecommitdiff
path: root/sphinx/search
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-01-15 15:59:58 +0100
committerGeorg Brandl <georg@python.org>2011-01-15 15:59:58 +0100
commit43e31799e91440155abc98042dda099de0307318 (patch)
treed09a41723334fa3f5a299dc1ef18f354dbecde34 /sphinx/search
parent8edcb918b534a3eb16636a35fc33426c7783a761 (diff)
downloadsphinx-43e31799e91440155abc98042dda099de0307318.tar.gz
Fix backslashes.
Diffstat (limited to 'sphinx/search')
-rw-r--r--sphinx/search/en.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/search/en.py b/sphinx/search/en.py
index c342f39c..1f3c3731 100644
--- a/sphinx/search/en.py
+++ b/sphinx/search/en.py
@@ -127,7 +127,7 @@ var Stemmer = function() {
if (re2.test(stem)) {
w = stem;
re2 = /(at|bl|iz)$/;
- re3 = new RegExp("([^aeiouylsz])\\1$");
+ re3 = new RegExp("([^aeiouylsz])\\\\1$");
re4 = new RegExp("^" + C + v + "[^aeiouwxy]$");
if (re2.test(w))
w = w + "e";