Update the XPath-to-CSS selector converter
This commit is contained in:
parent
fcf82a80ef
commit
751fc182ff
|
@ -2,7 +2,7 @@
|
|||
import re
|
||||
|
||||
_sub_regexes = {
|
||||
"tag": r"([a-zA-Z][-a-zA-Z0-9]{0,31}|\*)",
|
||||
"tag": r"([a-zA-Z][-a-zA-Z0-9]{0,40}|\*)",
|
||||
"attribute": r"[.a-zA-Z_:][-\w:.]*(\(\))?)",
|
||||
"value": r"\s*[\w/:][-/\w\s,:;.\S]*",
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue