From 29f04d842592a16428839bca388129bfe5fa47d2 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 16 Dec 2024 09:53:08 +0100 Subject: sentences: add vs. rule --- .local/bin/sentences | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local') diff --git a/.local/bin/sentences b/.local/bin/sentences index 146fd2c..750072e 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|p|Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\.}; ## 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|vs)\.}; ## abbreviations my $header = qr{(=+ .*? =+)}; $/ = ""; -- cgit v1.2.3-70-g09d2