From ea02d95c0153bff9912231775e985c1520d83f61 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sun, 21 May 2023 21:35:23 +0300 Subject: sentences: don't split at ; --- .local/bin/sentences | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/sentences') diff --git a/.local/bin/sentences b/.local/bin/sentences index 3626728..cd90380 100755 --- a/.local/bin/sentences +++ b/.local/bin/sentences @@ -2,7 +2,7 @@ use strict; -my $pont = qr{[.!?;]+}; ## punctuation +my $pont = qr{[.!?]+}; ## punctuation my $abrev = qr{\b(?:Pr|Dr|Mr|[A-Z]|i\.e|e\.g|et al|etc)\.}; ## abbreviations my $header = qr{(=+ .*? =+)}; -- cgit v1.2.3-70-g09d2