Use kleingrep's regex engine instead of stdlib #1
@@ -1,7 +1,13 @@
|
|||||||
# Priority decreases going downward ie. If two regexes match the same piece of
|
# 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.
|
# text, the one defined earlier will take precedence over the one defined later.
|
||||||
# Headings
|
# Headings
|
||||||
'##?#?#?#?#?.*': MAGENTA
|
'^#{1,6}.*?$': MAGENTA
|
||||||
|
|
||||||
|
# Link text
|
||||||
|
'\[.*?\](?=\(.*?\))': UNDERLINE_WHITE
|
||||||
|
|
||||||
|
# Link URL
|
||||||
|
'https?://\w+\.\w+.*?(?=\))': RED
|
||||||
|
|
||||||
# Code blocks
|
# Code blocks
|
||||||
'```(.|\n)+?```': YELLOW
|
'```(.|\n)+?```': YELLOW
|
||||||
|
Reference in New Issue
Block a user