mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-24 22:43:57 +00:00
Add warning in docs on performance when using EXSLT regexp functions
This commit is contained in:
parent
a3eba68aca
commit
88c8a523a7
@ -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
|
||||
~~~~~~~~~~~~~~
|
||||
|
Loading…
x
Reference in New Issue
Block a user