[1354] in Coldmud discussion meeting

root meeting help first first in chain previous in chain previous next last

Re: [COLD] FIX: $english_lib:indef_article(), ColdCore 3.0a9.02

daemon@ATHENA.MIT.EDU (Fri Aug 29 17:08:38 1997 )

Date: Fri, 29 Aug 1997 14:01:48 -0700 (PDT)
From: Brian Buchanan <brian@wasteland.calbbs.com>
To: "Luther, Clay" <clay@selsius.com>
cc: "ColdStuff Mailing List (E-mail)" <coldstuff@cold.org>
In-Reply-To: <D17232971415D11196C700600819851547E1@raphaelo.paradise.selsius.com>

> Fix:
> 
> Since we only care about examining the first word in a multiple word
> name for "an" exceptions, the fix is to split off the first word of the
> argument passed to the exception routines.  This coercion occurs within
> both routines rather than in the calling method, indef_article(), on the
> off chance that some other method might also want to call these methods
> someday.

Easier and cleaner fix, which I just implemented:  Prepend the
vowel_exceptions and nonvowel_exceptions regexps with a "^" to make them
match only against the beginning of the string. 

Brian