We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 14cc569 + 8b3aa08 commit 3036cbaCopy full SHA for 3036cba
cssselect/parser.py
@@ -617,7 +617,7 @@ def _compile(pattern):
617
return re.compile(pattern % vars(TokenMacros), re.IGNORECASE).match
618
619
_match_whitespace = _compile(r'[ \t\r\n\f]+')
620
-_match_number = _compile('[+-]?(?:[0-9]*\.[0-9]+|[0-9]+)')
+_match_number = _compile(r'[+-]?(?:[0-9]*\.[0-9]+|[0-9]+)')
621
_match_hash = _compile('#(?:%(nmchar)s)+')
622
_match_ident = _compile('-?(?:%(nmstart)s)(?:%(nmchar)s)*')
623
_match_string_by_quote = {
0 commit comments