ROOT
6.06/09
Reference Guide
|
#include <sys/types.h>
Go to the source code of this file.
Typedefs | |
typedef unsigned short | Pattern_t |
Functions | |
int | Makepat (const char *, Pattern_t *, int) |
Make a pattern template from the string pointed to by exp. More... | |
const char * | Matchs (const char *, size_t len, const Pattern_t *, const char **) |
Match a string with a pattern. More... | |
int Makepat | ( | const char * | exp, |
Pattern_t * | pat, | ||
int | maxpat | ||
) |
Make a pattern template from the string pointed to by exp.
Stop when \0
is found in exp. The pattern template is assembled in pat whose length is given by maxpat.
Return:
Definition at line 129 of file Match.cxx.
Referenced by TRegexp::GenPattern(), and TTabCom::SetPattern().
Match a string with a pattern.
Definition at line 220 of file Match.cxx.
Referenced by TTabCom::DetermineContext(), and TRegexp::Index().