From 8f3f5c77fec0bea267d92bd0ca71ed8b49edf5a9 Mon Sep 17 00:00:00 2001 From: "Benjamin E. Coe" Date: Tue, 29 Dec 2020 10:04:43 -0800 Subject: [PATCH] feat: support BREAKING CHANGE in body (#30) --- README.md | 90 +-- lib/parser.js | 26 +- test/parser.js | 18 +- test/parser.js.snap | 1372 +++++++++++++++++++++++++++++++++++++++++-- 4 files changed, 1397 insertions(+), 109 deletions(-) diff --git a/README.md b/README.md index 227d96a..deff0c9 100644 --- a/README.md +++ b/README.md @@ -42,49 +42,53 @@ in sync with the written specification on conventionalcommits.org. ```ebnf /* See: https://tools.ietf.org/html/rfc3629#section-4 */ - ::= "Placeholder for UTF-8 grammar" - ::= + - - ::= "0x000D" - ::= "0x000A" - ::= [], - ::= "(" | ")" - ::= "U+FEFF" - ::= "U+0009" - ::= "U+000B" - ::= "U+000C" - ::= "U+0020" - ::= "U+00A0" + ::= "Placeholder for UTF-8 grammar" + ::= + + + ::= "0x000D" + ::= "0x000A" + ::= [], + ::= "(" | ")" + ::= "U+FEFF" + ::= "U+0009" + ::= "U+000B" + ::= "U+000C" + ::= "U+0020" + ::= "U+00A0" /* See: https://www.ecma-international.org/ecma-262/11.0/index.html#sec-white-space */ - ::= "Any other Unicode 'Space_Separator' code point" + ::= "Any other Unicode 'Space_Separator' code point" /* Any non-newline whitespace: */ - ::= | | | | | | - - ::= , +, , *,