Stopped "keyword" match from taking \n (#255)

This commit is contained in:
syko9000
2023-12-07 07:14:16 -05:00
committed by GitHub
parent bec5460395
commit 8c6bcef987

View File

@@ -622,7 +622,7 @@ export default {
greedy: true greedy: true
}, },
"keyword": { "keyword": {
pattern: /^[^ :=]*(?=[:=])/m, pattern: /^\w*(?=[:=])/m,
greedy: true greedy: true
}, },
"value": { "value": {