summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
authorYigit Sever2021-10-20 11:02:45 +0300
committerYigit Sever2021-10-20 11:02:45 +0300
commit7765dd1cffe4fde68d110d18696376cc1d79d833 (patch)
treee53efe0b7c1f21f6bbc5698bc623139f63aa3d11 /.local/bin
parent79643ba5eac36359400011fb595e1e1d9a6014c2 (diff)
downloaddotfiles-7765dd1cffe4fde68d110d18696376cc1d79d833.tar.gz
dotfiles-7765dd1cffe4fde68d110d18696376cc1d79d833.tar.bz2
dotfiles-7765dd1cffe4fde68d110d18696376cc1d79d833.zip
sentences: support i.e. e.g.
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/sentences4
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/sentences b/.local/bin/sentences
index cc21d3b..1b46a49 100755
--- a/.local/bin/sentences
+++ b/.local/bin/sentences
@@ -2,8 +2,8 @@
2 2
3use strict; 3use strict;
4 4
5my $pont = qr{[.!?]+}; ## punctuation 5my $pont = qr{[.!?]+}; ## punctuation
6my $abrev = qr{\b(?:Pr|Dr|Mr|[A-Z])\.}; ## abbreviations 6my $abrev = qr{\b(?:Pr|Dr|Mr|[A-Z]|i\.e|e\.g)\.}; ## abbreviations
7my $header = qr{(=+ .*? =+)}; 7my $header = qr{(=+ .*? =+)};
8 8
9$/ = ""; 9$/ = "";