Permalink
Browse files

Fixed parsing lists elements.

  • Loading branch information...
1 parent ca8207d commit 84994c4c1562946203208b7b543bc929ecc54db5 @jakubpawlowicz committed Apr 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 vendor/yaml.js
View
@@ -45,7 +45,7 @@ var tokens = [
['string', /^([a-zA-Z][^:,\]\}]*?)(?=\s*[,\n\]\}])/],
['float', /^(\d+\.\d+)/],
['int', /^(\d+)/],
- ['id', /^[ ]*([\w\/\-]+)/],
+ ['id', /^[ ]*(\w[\w\/\-]+\w)/],
['doc', /^---/],
[',', /^,/],
['{', /^\{/],

0 comments on commit 84994c4

Please sign in to comment.