From 82b4486248d219145ed6ccb6d776ee735fe3adb5 Mon Sep 17 00:00:00 2001 From: Dmitry Mozzherin Date: Fri, 8 Nov 2024 14:29:52 +0000 Subject: [PATCH] parse author word like `Not.` (close #272) --- ent/internal/preparser/grammar.peg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ent/internal/preparser/grammar.peg b/ent/internal/preparser/grammar.peg index fcddecf..e321885 100644 --- a/ent/internal/preparser/grammar.peg +++ b/ent/internal/preparser/grammar.peg @@ -41,7 +41,7 @@ _ <- MultipleSpace / SingleSpace NotLetterOrEnd <- NotLetter / END -NotLetter <- [[^A-Z0-9_\-]] +NotLetter <- [[^A-Z0-9_\-\.]] MultipleSpace <- SingleSpace SingleSpace+