Skip to content

Commit

Permalink
be permissive with whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
vladdeSV committed Feb 12, 2021
1 parent e8080d6 commit faf1eb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntaxes/klog.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"summary-behind-entry": {
"name": "string.unquoted.summary.behind-entry.klog",
"begin": "(?<!\t| {2,4})(?<= +)",
"begin": "(?<!\t| {2,4})(?<=\\s+)",
"end": "$",
"patterns": [
{
Expand All @@ -33,7 +33,7 @@
},
"timespan": {
"name": "markup.other.timespan.klog",
"match": "(<?(?:[01]?\\d|2[0-3]):[0-5]\\d(?:am|pm)?>?) ?- ?(<?(?:[01]?\\d|2[0-3]):[0-5]\\d(?:am|pm)?>?)"
"match": "(<?(?:[01]?\\d|2[0-3]):[0-5]\\d(?:am|pm)?>?)\\s*-\\s*(<?(?:[01]?\\d|2[0-3]):[0-5]\\d(?:am|pm)?>?)"
},
"timespan-open-ended": {
"name": "markup.other.timespan.open-ended.klog",
Expand Down

0 comments on commit faf1eb5

Please sign in to comment.