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.

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

From EMBOSS 6.2.0