xidel
xidel copied to clipboard
Doc issue on x-extract()
As far as we can use PCRE regex in x-extract() (very nice trick), you should rewrite the doc:
In https://www.benibela.de/documentation/internettools/xpath-functions.html#x-extract
s/grep -oE/grep -oP
By the way, thanks for your tool, it's a must have in the toolchest, I use it every day ;)
With "basically" I mean it is similar, but not the same.
It does not support full PCRE. The syntax is from the https://www.w3.org/TR/xpath-functions-30/#regex-syntax
And the implementation does not do backtracking, so even some of those regexps cannot be evaluated
Maybe add an explanations that it's a subset of Perl's regex(?) allowing \d|\w|\s...