From 861f891749d0dd4b8323187488b02a11573ffb0a Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 1 Oct 2024 17:36:44 +0200 Subject: sentences: month abbreviations --- .local/bin/sentences | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/sentences b/.local/bin/sentences index cd90380..146fd2c 100755 --- a/.local/bin/sentences +++ b/.local/bin/sentences @@ -3,7 +3,7 @@ use strict; my $pont = qr{[.!?]+}; ## punctuation -my $abrev = qr{\b(?:Pr|Dr|Mr|[A-Z]|i\.e|e\.g|et al|etc)\.}; ## abbreviations +my $abrev = qr{\b(?:Pr|Dr|Mr|[A-Z]|i\.e|e\.g|et al|etc|p|Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\.}; ## abbreviations my $header = qr{(=+ .*? =+)}; $/ = ""; -- cgit v1.2.3-70-g09d2