deprecation of MaAsciiStringIndex

Chris Muller chris at funkyobjects.org
Mon Aug 21 20:40:06 UTC 2006


I'm about to post a minor update to Magma with a minor bug fix from
Brent and an enhanced MaSearchStringIndex.

MaSearchStringIndex will now allow the user to specify the range of
indexed characters.  Four convenience methods offer the most common
ranges:

  #beAlpha  "$A to $Z"
  #beAlhpaNumberic  "$0 to $Z"
  #bePunctuated  "$! to $Z"
  #beAscii  "ascii 0 to 127"

Using the more-restricted ranges (i.e., #beAlpha) relaxes the
strictness the searches while permitting more #meaningfulCharacters for
the same number of bits.

This flexibility now renders MaAsciiStringIndex redundant, since you
can now use a MaSearchStringIndex with #beAscii to accomplish the same
thing.  Therefore I would like to deprecate MaAsciiStringIndex.  It
will remain in the package for now, in case you have persistent
instances of it, but please don't create new instances as I would like
to remove it some day.

Any questions or concerns, please speak.

thanks..


More information about the Magma mailing list