Skip to content

Instantly share code, notes, and snippets.

View motet-a's full-sized avatar

Antoine Motet motet-a

View GitHub Profile

Source:

a[^first]b[^second def]c[^third]

[^first]: first def
[^third]: third def

Actual:

0 info it worked if it ends with ok
1 verbose cli [ '/home/antoine/.nvm/versions/node/v8.1.3/bin/node',
1 verbose cli '/home/antoine/.nvm/versions/node/v8.1.3/bin/npm',
1 verbose cli 'deprecate',
1 verbose cli 'motet_a/validate',
1 verbose cli 'Use @motet-a/validate instead' ]
2 info using npm@5.3.0
3 info using node@v8.1.3
4 silly mapToRegistry name undefined

Beatles

Abbey Road

  • Oh! Darling

  • Something

Jethro Tull

This is not the real spec.

Although this draft is quite similar to the real spec, there are not exactly compatible. Overall, this one is less restrictive. I dropped the “no spaces before +” rule, and whitespace-related rules are different. For example, the expression ( MIT) seems to be considered invalid by the real spec, but is considered valid by this draft.

Analysis overview