ROOT
6.08/07
Reference Guide
core
base
inc
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
#if !defined(__CINT__)
23
#include <sys/types.h>
24
#endif
25
26
typedef
unsigned
short
Pattern_t
;
27
28
int
Makepat
(
const
char
*,
Pattern_t
*,
int
);
29
const
char
*
Matchs
(
const
char
*,
size_t
len,
const
Pattern_t
*,
30
const
char
**);
31
32
#endif
Makepat
int Makepat(const char *, Pattern_t *, int)
Make a pattern template from the string pointed to by exp.
Definition:
Match.cxx:129
Pattern_t
unsigned short Pattern_t
Definition:
Match.h:26
Matchs
const char * Matchs(const char *, size_t len, const Pattern_t *, const char **)
Match a string with a pattern.
Definition:
Match.cxx:220