Update the XPath-to-CSS selector converter

This commit is contained in:
Michael Mintz 2023-10-19 12:30:21 -04:00
parent fcf82a80ef
commit 751fc182ff
1 changed files with 1 additions and 1 deletions

View File

@ -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]*",
}