Converted all possible usages of re.* that weren't compiling the regex separately and re-using it. Separated out the compiled patterns as global variables. Repetitive patterns could be made DRY-er. Would be nicer to have all regexes in a single module so that we could re-use better, keep track of outdated, and keep checks for possible reDos' etc |
||
|---|---|---|
| .. | ||
| api | ||
| doctype | ||
| form_tour/doctype | ||
| page | ||
| report | ||
| web_form | ||
| workspace | ||
| __init__.py | ||
| notifications.py | ||
| README.md | ||
| utils.py | ||
Core module contains the models required for the basic functioning of frappe including DocType, User (user), Role and others.