Use kleingrep's regex engine instead of stdlib #1

Merged
Rockingcool merged 8 commits from useMyEngine into master 2025-04-24 21:20:41 -05:00
10 changed files with 41 additions and 21 deletions
Showing only changes of commit 720a01140c - Show all commits

View File

@@ -1,7 +1,13 @@
# Priority decreases going downward ie. If two regexes match the same piece of
# text, the one defined earlier will take precedence over the one defined later.
# Headings
'##?#?#?#?#?.*': MAGENTA
'^#{1,6}.*?$': MAGENTA
# Link text
'\[.*?\](?=\(.*?\))': UNDERLINE_WHITE
# Link URL
'https?://\w+\.\w+.*?(?=\))': RED
# Code blocks
'```(.|\n)+?```': YELLOW