fix(parser): Improve selectors re function
This commit is contained in:
+1
-1
@@ -1259,7 +1259,7 @@ class Selectors(List[Selector]):
|
|||||||
:param clean_match: if enabled, this will ignore all whitespaces and consecutive spaces while matching
|
: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
|
: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))
|
return TextHandlers(flatten(results))
|
||||||
|
|
||||||
def re_first(
|
def re_first(
|
||||||
|
|||||||
Reference in New Issue
Block a user