Mazenbs commited on
Commit
501f57d
·
verified ·
1 Parent(s): 038eebb

Update helpers/utils.py

Browse files
Files changed (1) hide show
  1. helpers/utils.py +1 -1
helpers/utils.py CHANGED
@@ -27,7 +27,7 @@ def clean_text_block(text: str) -> str:
27
 
28
  # نمط المادة: يدعم "مادة" و"ماده" و"المادة" و"المادّة" مع رقم وربما "مكرر"
29
  ARTICLE_PATTERN = re.compile(
30
- r"^\s*(?:ال)?ماد[ةه]\s*[\(\s]*([0-9٠-٩]+)[\)\s]*",
31
  re.IGNORECASE
32
  )
33
 
 
27
 
28
  # نمط المادة: يدعم "مادة" و"ماده" و"المادة" و"المادّة" مع رقم وربما "مكرر"
29
  ARTICLE_PATTERN = re.compile(
30
+ r"^\s*ماد[ةه]\s*[\(\s]*([0-9]+)[\)\s]*",
31
  re.IGNORECASE
32
  )
33