Permalink
Browse files

Merge pull request #13 from ddlsmurf/feature-accept-whitespace-after-…

…drawer

tolerate whitespace after drawer block start
  • Loading branch information...
daitangio committed Sep 7, 2017
2 parents b267523 + 4d9d96e commit 9bb4ad15e64d347dd6c81799cd8a8b3cd4de72ab
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/org-mode-parser.js
View
@@ -229,7 +229,7 @@ var parseBigString=function (data){
var deadlineRE=/DEADLINE:\s*<(\d+)\-(\d+)\-(\d+)/;
var closedRE=/CLOSED:\s*<(\d+)\-(\d+)\-(\d+)\s*\w+/;
var drawerFinderRE=/\s*:([a-zA-Z_0-9]+):$/;
var drawerFinderRE=/\s*:([a-zA-Z_0-9]+):\s*$/;
var property_startRE=/\s*:PROPERTIES:/;
var drawerENDRE=/\s*:END:/;
var singlePropertyMatcherRE=/^\s*:(.*?):\s*(.*?)\s*$/;

0 comments on commit 9bb4ad1

Please sign in to comment.