fix(parser): Improve selectors re function

This commit is contained in:
Karim shoair
2025-09-18 13:56:37 +03:00
parent 41c8a2dcca
commit b197f8a5f9
+1 -1
View File
@@ -1259,7 +1259,7 @@ class Selectors(List[Selector]):
:param clean_match: if enabled, this will ignore all whitespaces and consecutive spaces while matching
:param case_sensitive: if disabled, the function will set the regex to ignore the letters case while compiling it
"""
results = [n.text.re(regex, replace_entities, clean_match, case_sensitive) for n in self]
results = [n.re(regex, replace_entities, clean_match, case_sensitive) for n in self]
return TextHandlers(flatten(results))
def re_first(