This site's content was compiled from 1993 to 2006. Beyond that, Google is your friend.

iss-match

Maintainer

Halstenbach GmbH

Description

The iss-match pattern-matching library wraps and extends Henry Spencer's C library, and includes substring matching, approximate matching, wildcard matching regular expression matching and text splitting.

The original package was released by Halstenbach GmbH, and is apparently abandoned.

It has been ported to Visual Eiffel by Doug Pardee, and to SmallEiffel by Richie Bielak.

Categories

Versions

Links

Features

The iss-match library provides facilities for text searching and for pattern matching.

Text searching

SUBSTRING class searches for a fixed string, going either forward or backward. It is suitable for searching through large quantities of text. Searches can be case-sensitive or insensitive.

Pattern matching

REGEXP class matches a text string against a regular expression. Matching can be case-sensitive or insensitive. The regular expression can be constrained to matching the entire string, to matching the beginning or the end of the string,

WILDCARD class is similar to REGEXP except that it uses a simplified pattern syntax similar to file-name wildcards.

MISSPELLED class is similar to REGEXP except that it searches for a fixed text string, not a pattern. It allows a specified amount of variation (misspelling) between the search string and the target.

All three of these pattern matchers provide two interfaces. The full "match_*" features allow you to query the character positions of the matched string and (for REGEXP) of any substrings. The "matches_*" features are queries which provide only a True/False match indication.

REGEXP_EXTRACTOR and WILDCARD_EXTRACTOR are variants which provide an easy way for you to do the matching and then retrieve the matching substring(s). The extractors require a small amount of care in order to prevent wasting memory. See the HTML page for more information. It's not clear why no MISSPELLED_EXTRACTOR is provided, but it should be simple enough to create.

Text splitting

SPLITTER class breaks a text string into an arrya of substrings, using any of the text search or pattern match objects to define the separators.

Supported compilers

Platforms

Licensing

Google
 
Web eiffelzone.com