The following two commands produce different output depending on the casing used (i.e. "mr." vs. "Mr.") The first output is desired/expected.
>x mr. Smith
You see nothing special about Mr. Smith.
>x Mr. Smith
You see nothing special about Mr. Smith.
That's not a verb I recognise.
Steps to reproduce :
"Abbreviation"
Include Punctuation Removal by Emily Short.
The Place is a room. Mr Smith is a man in Place. The printed name of Mr Smith is "Mr. Smith".
After reading a command: resolve punctuated titles.
Additional information :
It appears to be related to the following code in the extension:
! This is hackish, but our hearts are pure
if ((buffer->(i-1)=='r') && (buffer->(i-2)=='m') && ((buffer->(i-3)==' ') || ((i-3) < WORDSIZE))) flag = 1;
if ((buffer->(i-1)=='r') && (buffer->(i-2)=='d') && ((buffer->(i-3)==' ') || ((i-3) < WORDSIZE))) flag = 1;
if ((buffer->(i-1)=='t') && (buffer->(i-2)=='s') && ((buffer->(i-3)==' ') || ((i-3) < WORDSIZE))) flag = 1;
if ((buffer->(i-1)=='s') && (buffer->(i-2)=='r') && (buffer->(i-3)=='m') && ((buffer->(i-4)==' ') || ((i-4) < WORDSIZE))) flag = 1;
if ((buffer->(i-1)=='v') && (buffer->(i-2)=='e') && (buffer->(i-3)=='r') && ((buffer->(i-4)==' ') || ((i-4) < WORDSIZE))) flag = 1;
if ((buffer->(i-1)=='f') && (buffer->(i-2)=='o') && (buffer->(i-3)=='r') && (buffer->(i-4)=='p') && ((buffer->(i-5)==' ') || ((i-5) < WORDSIZE))) flag = 1;
if buffer->i = ' ';
Reported by : billyzkid
Description :
The following two commands produce different output depending on the casing used (i.e. "mr." vs. "Mr.") The first output is desired/expected.
>x mr. Smith
You see nothing special about Mr. Smith.
>x Mr. Smith
You see nothing special about Mr. Smith.
That's not a verb I recognise.
Steps to reproduce :
Additional information :
It appears to be related to the following code in the extension:
! This is hackish, but our hearts are pure
if ((buffer->(i-1)=='r') && (buffer->(i-2)=='m') && ((buffer->(i-3)==' ') || ((i-3) < WORDSIZE))) flag = 1;
imported from: [Mantis 1988] Punctuation Removal extension for punctuated titles is case-sensitiveif ((buffer->(i-1)=='r') && (buffer->(i-2)=='d') && ((buffer->(i-3)==' ') || ((i-3) < WORDSIZE))) flag = 1;
if ((buffer->(i-1)=='t') && (buffer->(i-2)=='s') && ((buffer->(i-3)==' ') || ((i-3) < WORDSIZE))) flag = 1;
if ((buffer->(i-1)=='s') && (buffer->(i-2)=='r') && (buffer->(i-3)=='m') && ((buffer->(i-4)==' ') || ((i-4) < WORDSIZE))) flag = 1;
if ((buffer->(i-1)=='v') && (buffer->(i-2)=='e') && (buffer->(i-3)=='r') && ((buffer->(i-4)==' ') || ((i-4) < WORDSIZE))) flag = 1;
if ((buffer->(i-1)=='f') && (buffer->(i-2)=='o') && (buffer->(i-3)=='r') && (buffer->(i-4)=='p') && ((buffer->(i-5)==' ') || ((i-5) < WORDSIZE))) flag = 1;
if buffer->i = ' ';