Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
Match.h
Go to the documentation of this file.
1// @(#)root/base:$Id$
2// Author: Fons Rademakers 04/08/95
3
4/*************************************************************************
5 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_Match
13#define ROOT_Match
14
15
16//////////////////////////////////////////////////////////////////////////
17// //
18// Declarations for regular expression routines. //
19// //
20//////////////////////////////////////////////////////////////////////////
21
22#include <sys/types.h>
23
24typedef unsigned short Pattern_t;
25
26int Makepat(const char*, Pattern_t*, int);
27const char* Matchs(const char*, size_t len, const Pattern_t*,
28 const char**);
29
30#endif
unsigned short Pattern_t
Definition Match.h:24
int Makepat(const char *, Pattern_t *, int)
Make a pattern template from the string pointed to by exp.
Definition Match.cxx:129
const char * Matchs(const char *, size_t len, const Pattern_t *, const char **)
Match a string with a pattern.
Definition Match.cxx:220