G:/ScriptBasic/source/extensions/re/regex.h File Reference

#include <sys/cdefs.h>

Go to the source code of this file.

Data Structures

struct  regex_t
struct  regmatch_t

Defines

#define __stdcall
#define REG_BASIC   0000
#define REG_EXTENDED   0001
#define REG_ICASE   0002
#define REG_NOSUB   0004
#define REG_NEWLINE   0010
#define REG_NOSPEC   0020
#define REG_PEND   0040
#define REG_DUMP   0200
#define REG_NOMATCH   1
#define REG_BADPAT   2
#define REG_ECOLLATE   3
#define REG_ECTYPE   4
#define REG_EESCAPE   5
#define REG_ESUBREG   6
#define REG_EBRACK   7
#define REG_EPAREN   8
#define REG_EBRACE   9
#define REG_BADBR   10
#define REG_ERANGE   11
#define REG_ESPACE   12
#define REG_BADRPT   13
#define REG_EMPTY   14
#define REG_ASSERT   15
#define REG_INVARG   16
#define REG_ATOI   255
#define REG_ITOA   0400
#define REG_NOTBOL   00001
#define REG_NOTEOL   00002
#define REG_STARTEND   00004
#define REG_TRACE   00400
#define REG_LARGE   01000
#define REG_BACKR   02000

Typedefs

typedef off_t regoff_t

Functions

__BEGIN_DECLS int __stdcall
regcomp 
__P ((regex_t *, const char *, int))
size_t __stdcall regerror __P ((int, const regex_t *, char *, size_t))
int __stdcall regexec __P ((const regex_t *, const char *, size_t, regmatch_t[], int))
void __stdcall regfree __P ((regex_t *))


Define Documentation

#define __stdcall
 

Definition at line 53 of file regex.h.

#define REG_ASSERT   15
 

Definition at line 96 of file regex.h.

Referenced by ConvertError(), and repeat().

#define REG_ATOI   255
 

Definition at line 98 of file regex.h.

Referenced by regerror().

#define REG_BACKR   02000
 

Definition at line 107 of file regex.h.

#define REG_BADBR   10
 

Definition at line 91 of file regex.h.

Referenced by ConvertError(), p_count(), p_ere_exp(), and p_simp_re().

#define REG_BADPAT   2
 

Definition at line 83 of file regex.h.

Referenced by ConvertError(), and regexec().

#define REG_BADRPT   13
 

Definition at line 94 of file regex.h.

Referenced by ConvertError(), p_ere_exp(), and p_simp_re().

#define REG_BASIC   0000
 

Definition at line 72 of file regex.h.

#define REG_DUMP   0200
 

Definition at line 79 of file regex.h.

#define REG_EBRACE   9
 

Definition at line 90 of file regex.h.

Referenced by ConvertError(), p_ere_exp(), and p_simp_re().

#define REG_EBRACK   7
 

Definition at line 88 of file regex.h.

Referenced by ConvertError(), p_b_coll_elem(), p_b_symbol(), p_b_term(), and p_bracket().

#define REG_ECOLLATE   3
 

Definition at line 84 of file regex.h.

Referenced by ConvertError(), p_b_coll_elem(), p_b_symbol(), and p_b_term().

#define REG_ECTYPE   4
 

Definition at line 85 of file regex.h.

Referenced by ConvertError(), p_b_cclass(), and p_b_term().

#define REG_EESCAPE   5
 

Definition at line 86 of file regex.h.

Referenced by ConvertError(), p_ere_exp(), and p_simp_re().

#define REG_EMPTY   14
 

Definition at line 95 of file regex.h.

Referenced by ConvertError(), p_bre(), p_ere(), p_ere_exp(), and p_str().

#define REG_EPAREN   8
 

Definition at line 89 of file regex.h.

Referenced by ConvertError(), p_ere_exp(), and p_simp_re().

#define REG_ERANGE   11
 

Definition at line 92 of file regex.h.

Referenced by ConvertError(), and p_b_term().

#define REG_ESPACE   12
 

Definition at line 93 of file regex.h.

Referenced by allocset(), ConvertError(), enlarge(), mcadd(), regcomp(), and stripsnug().

#define REG_ESUBREG   6
 

Definition at line 87 of file regex.h.

Referenced by ConvertError(), and p_simp_re().

#define REG_EXTENDED   0001
 

Definition at line 73 of file regex.h.

Referenced by main(), and regcomp().

#define REG_ICASE   0002
 

Definition at line 74 of file regex.h.

Referenced by ordinary(), and p_bracket().

#define REG_INVARG   16
 

Definition at line 97 of file regex.h.

Referenced by ConvertError(), and regcomp().

#define REG_ITOA   0400
 

Definition at line 99 of file regex.h.

Referenced by regerror().

#define REG_LARGE   01000
 

Definition at line 106 of file regex.h.

Referenced by regexec().

#define REG_NEWLINE   0010
 

Definition at line 76 of file regex.h.

Referenced by p_bracket(), p_ere_exp(), and p_simp_re().

#define REG_NOMATCH   1
 

Definition at line 82 of file regex.h.

Referenced by ConvertError().

#define REG_NOSPEC   0020
 

Definition at line 77 of file regex.h.

Referenced by regcomp().

#define REG_NOSUB   0004
 

Definition at line 75 of file regex.h.

#define REG_NOTBOL   00001
 

Definition at line 102 of file regex.h.

#define REG_NOTEOL   00002
 

Definition at line 103 of file regex.h.

#define REG_PEND   0040
 

Definition at line 78 of file regex.h.

Referenced by regcomp().

#define REG_STARTEND   00004
 

Definition at line 104 of file regex.h.

#define REG_TRACE   00400
 

Definition at line 105 of file regex.h.


Typedef Documentation

typedef off_t regoff_t
 

Definition at line 57 of file regex.h.


Function Documentation

void __stdcall regfree __P (regex_t *)   ) 
 

int __stdcall regexec __P (const regex_t *, const char *, size_t, regmatch_t[], int)   ) 
 

size_t __stdcall regerror __P (int, const regex_t *, char *, size_t)   ) 
 

__BEGIN_DECLS int __stdcall regcomp __P (regex_t *, const char *, int)   ) 
 


Generated on Sun Mar 12 23:56:37 2006 for ScriptBasic by  doxygen 1.4.6-NO