From b197f8a5f99e74967e62cf986f80d26a15a02d11 Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Thu, 18 Sep 2025 13:56:37 +0300 Subject: [PATCH] fix(parser): Improve selectors `re` function --- scrapling/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapling/parser.py b/scrapling/parser.py index 4fb510c..6260988 100644 --- a/scrapling/parser.py +++ b/scrapling/parser.py @@ -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(