Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Strings starting with number aren't parsed properly #45

Open
enyo opened this issue Apr 27, 2012 · 1 comment
Open

Strings starting with number aren't parsed properly #45

enyo opened this issue Apr 27, 2012 · 1 comment

Comments

@enyo
Copy link

enyo commented Apr 27, 2012

When a string starts with a number, it results in a parse error:

1) config should parse the default config file:
     Error: Cannot parse config file: 'config/default.yaml': Error: hash not properly dedented, near "AES-128-CFB8\n  ivLength: "
@enyo
Copy link
Author

enyo commented Apr 27, 2012

To fix the problem the int regexp should be:

['int', /^(\d+)(?=\s*[,\n\s\}\]])/],

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant