embmisc.c


Function embMiscMatchPatternDelimC

Does a simple OR'd test of matches to (possibly wildcarded) words. The words are tested one at a time until a match is found. Whitespace and additional delimiter characters can separate the words in the pattern.

Synopsis

Prototype
AjBool embMiscMatchPatternDelimC (
      const AjPStr str,
      const AjPStr pattern,
      const char* delim
);

TypeNameRead/WriteDescription
const AjPStrstrInputstring to test
const AjPStrpatternInputpattern to match with
const char*delimInputadditional delimiters
AjBool RETURNajTrue = found a match

Input
str:(Input)string to test
pattern:(Input)pattern to match with
delim:(Input)additional delimiters
Returns
AjBool:ajTrue = found a match

Description

Does a simple OR'd test of matches to (possibly wildcarded) words. The words are tested one at a time until a match is found. Whitespace and additional delimiter characters can separate the words in the pattern.

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0