Simplified repeat0 parser.
Merge branch 'master' of https://github.com/foam-framework/foam