diff options
| -rwxr-xr-x | .local/bin/sentences | 4 |
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 | ||
| 3 | use strict; | 3 | use strict; |
| 4 | 4 | ||
| 5 | my $pont = qr{[.!?]+}; ## punctuation | 5 | my $pont = qr{[.!?]+}; ## punctuation |
| 6 | my $abrev = qr{\b(?:Pr|Dr|Mr|[A-Z])\.}; ## abbreviations | 6 | my $abrev = qr{\b(?:Pr|Dr|Mr|[A-Z]|i\.e|e\.g)\.}; ## abbreviations |
| 7 | my $header = qr{(=+ .*? =+)}; | 7 | my $header = qr{(=+ .*? =+)}; |
| 8 | 8 | ||
| 9 | $/ = ""; | 9 | $/ = ""; |
