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
7 changed files with 30 additions and 17 deletions
Showing only changes of commit d1a9f3f726 - Show all commits

View File

@@ -18,11 +18,9 @@
'(&&)|(\|\|)': CYAN
# Keywords
'\b(if|else|for|range|go|func|return|break|continue)\b': CYAN
'\b(import|var|const|type|struct)\b': CYAN
'\b(package|import|var|const|type|struct)\b': CYAN
# Built-in Functions
'\b(panic|len)\b': DARKBLUE
# Functions from packages (package name and function name separated by dot)
'\b(\w*\.\w*)\b': DARKBLUE
'\b(panic|len)\b': GREEN
# Data Types
'\b(bool|byte|rune|string|interface|map|chan)\b': YELLOW
'\b(u?int)(8|16|32|64)?\b': YELLOW