Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Add warning in docs on performance when using EXSLT regexp functions

Paul Tremberth88c8a523a765
diff --git a/docs/topics/selectors.rst b/docs/topics/selectors.rst
index deff0d8dc..af48a1b07 100644
--- a/docs/topics/selectors.rst
+++ b/docs/topics/selectors.rst
@@ -280,7 +280,10 @@ Example selecting links in list item with a "class" attribute ending with a digi
[u'link1.html', u'link2.html', u'link4.html', u'link5.html']
>>>
-
+.. warning:: C library ``libxslt`` doesn't natively support EXSLT regular
+ expressions so `lxml`_'s implementation uses hooks to Python's ``re`` module.
+ Thus, using regexp functions in your XPath expressions may add a small
+ performance penalty.
Set operations
~~~~~~~~~~~~~~