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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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