Mazenbs commited on
Commit
049a831
·
verified ·
1 Parent(s): bfdeab7

Update helpers/utils.py

Browse files
Files changed (1) hide show
  1. helpers/utils.py +2 -1
helpers/utils.py CHANGED
@@ -20,8 +20,9 @@ def clean_text_block(text: str) -> str:
20
  # ---------------------------------------
21
  # أنماط المواد والأقسام
22
  # ---------------------------------------
 
23
  ARTICLE_PATTERN = re.compile(
24
- r"^\s*(?:ال?ماد[ةه])\s*[\(\s]*([0-9٠-٩]+(?:\s*مكرر)?)\s*[\)\s]*\s*(.*)$",
25
  re.IGNORECASE
26
  )
27
 
 
20
  # ---------------------------------------
21
  # أنماط المواد والأقسام
22
  # ---------------------------------------
23
+
24
  ARTICLE_PATTERN = re.compile(
25
+ r"^\s*(?:ال?ماد[ةه])\s*[\(]?\s*([0-9٠-٩]+(?:\s*مكرر)?)\s*[\)]?\s*(.*)$",
26
  re.IGNORECASE
27
  )
28