regex.h File Reference

Go to the source code of this file.

Data Structures

struct  regex_t
struct  regmatch_t
struct  rm_detail_t

Defines

#define _REGEX_H_
#define __REG_WIDE_T   Tcl_UniChar
#define __REG_REGOFF_T   long
#define __REG_VOID_T   VOID
#define __REG_CONST   CONST
#define __REG_WIDE_COMPILE   TclReComp
#define __REG_WIDE_EXEC   TclReExec
#define __REG_NOFRONT
#define __REG_NOCHAR
#define regfree   TclReFree
#define regerror   TclReError
#define REG_UBACKREF   000001
#define REG_ULOOKAHEAD   000002
#define REG_UBOUNDS   000004
#define REG_UBRACES   000010
#define REG_UBSALNUM   000020
#define REG_UPBOTCH   000040
#define REG_UBBS   000100
#define REG_UNONPOSIX   000200
#define REG_UUNSPEC   000400
#define REG_UUNPORT   001000
#define REG_ULOCALE   002000
#define REG_UEMPTYMATCH   004000
#define REG_UIMPOSSIBLE   010000
#define REG_USHORTEST   020000
#define REG_BASIC   000000
#define REG_EXTENDED   000001
#define REG_ADVF   000002
#define REG_ADVANCED   000003
#define REG_QUOTE   000004
#define REG_NOSPEC   REG_QUOTE
#define REG_ICASE   000010
#define REG_NOSUB   000020
#define REG_EXPANDED   000040
#define REG_NLSTOP   000100
#define REG_NLANCH   000200
#define REG_NEWLINE   000300
#define REG_PEND   000400
#define REG_EXPECT   001000
#define REG_BOSONLY   002000
#define REG_DUMP   004000
#define REG_FAKE   010000
#define REG_PROGRESS   020000
#define REG_NOTBOL   0001
#define REG_NOTEOL   0002
#define REG_STARTEND   0004
#define REG_FTRACE   0010
#define REG_MTRACE   0020
#define REG_SMALL   0040
#define REG_OKAY   0
#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_ASSERT   15
#define REG_INVARG   16
#define REG_MIXED   17
#define REG_BADOPT   18
#define REG_ETOOBIG   19
#define REG_ATOI   101
#define REG_ITOA   102

Typedefs

typedef __REG_REGOFF_T regoff_t
typedef __REG_VOID_T re_void

Functions

MODULE_SCOPE int __REG_WIDE_COMPILE (regex_t *, __REG_CONST __REG_WIDE_T *, size_t, int)
MODULE_SCOPE int __REG_WIDE_EXEC (regex_t *, __REG_CONST __REG_WIDE_T *, size_t, rm_detail_t *, size_t, regmatch_t[], int)
MODULE_SCOPE re_void regfree (regex_t *)
MODULE_SCOPE size_t regerror (int, __REG_CONST regex_t *, char *, size_t)


Define Documentation

#define __REG_CONST   CONST

Definition at line 108 of file regex.h.

#define __REG_NOCHAR

Definition at line 113 of file regex.h.

#define __REG_NOFRONT

Definition at line 112 of file regex.h.

#define __REG_REGOFF_T   long

Definition at line 106 of file regex.h.

#define __REG_VOID_T   VOID

Definition at line 107 of file regex.h.

#define __REG_WIDE_COMPILE   TclReComp

Definition at line 110 of file regex.h.

#define __REG_WIDE_EXEC   TclReExec

Definition at line 111 of file regex.h.

#define __REG_WIDE_T   Tcl_UniChar

Definition at line 105 of file regex.h.

#define _REGEX_H_

Definition at line 2 of file regex.h.

#define REG_ADVANCED   000003

Definition at line 209 of file regex.h.

Referenced by compile(), and Tcl_RegExpCompile().

#define REG_ADVF   000002

Definition at line 208 of file regex.h.

Referenced by compile().

#define REG_ASSERT   15

Definition at line 276 of file regex.h.

#define REG_ATOI   101

Definition at line 282 of file regex.h.

#define REG_BADBR   10

Definition at line 272 of file regex.h.

#define REG_BADOPT   18

Definition at line 279 of file regex.h.

#define REG_BADPAT   2

Definition at line 264 of file regex.h.

#define REG_BADRPT   13

Definition at line 275 of file regex.h.

#define REG_BASIC   000000

Definition at line 206 of file regex.h.

#define REG_BOSONLY   002000

Definition at line 220 of file regex.h.

#define REG_DUMP   004000

Definition at line 221 of file regex.h.

Referenced by compile().

#define REG_EBRACE   9

Definition at line 271 of file regex.h.

#define REG_EBRACK   7

Definition at line 269 of file regex.h.

#define REG_ECOLLATE   3

Definition at line 265 of file regex.h.

#define REG_ECTYPE   4

Definition at line 266 of file regex.h.

#define REG_EESCAPE   5

Definition at line 267 of file regex.h.

#define REG_EPAREN   8

Definition at line 270 of file regex.h.

#define REG_ERANGE   11

Definition at line 273 of file regex.h.

#define REG_ESPACE   12

Definition at line 274 of file regex.h.

Referenced by compile(), and exec().

#define REG_ESUBREG   6

Definition at line 268 of file regex.h.

#define REG_ETOOBIG   19

Definition at line 280 of file regex.h.

#define REG_EXPANDED   000040

Definition at line 214 of file regex.h.

Referenced by compile().

#define REG_EXPECT   001000

Definition at line 219 of file regex.h.

Referenced by exec(), and TclRegExpRangeUniChar().

#define REG_EXTENDED   000001

Definition at line 207 of file regex.h.

Referenced by compile().

#define REG_FAKE   010000

Definition at line 222 of file regex.h.

#define REG_FTRACE   0010

Definition at line 242 of file regex.h.

#define REG_ICASE   000010

Definition at line 212 of file regex.h.

Referenced by compile().

#define REG_INVARG   16

Definition at line 277 of file regex.h.

Referenced by compile(), and exec().

#define REG_ITOA   102

Definition at line 283 of file regex.h.

Referenced by TclRegError().

#define REG_MIXED   17

Definition at line 278 of file regex.h.

Referenced by exec().

#define REG_MTRACE   0020

Definition at line 243 of file regex.h.

#define REG_NEWLINE   000300

Definition at line 217 of file regex.h.

Referenced by compile().

#define REG_NLANCH   000200

Definition at line 216 of file regex.h.

Referenced by compile().

#define REG_NLSTOP   000100

Definition at line 215 of file regex.h.

Referenced by compile().

#define REG_NOMATCH   1

Definition at line 263 of file regex.h.

Referenced by exec().

#define REG_NOSPEC   REG_QUOTE

Definition at line 211 of file regex.h.

#define REG_NOSUB   000020

Definition at line 213 of file regex.h.

Referenced by exec().

#define REG_NOTBOL   0001

Definition at line 239 of file regex.h.

Referenced by Tcl_RegExpExec().

#define REG_NOTEOL   0002

Definition at line 240 of file regex.h.

#define REG_OKAY   0

Definition at line 262 of file regex.h.

Referenced by exec().

#define REG_PEND   000400

Definition at line 218 of file regex.h.

Referenced by regcomp().

#define REG_PROGRESS   020000

Definition at line 223 of file regex.h.

Referenced by compile().

#define REG_QUOTE   000004

Definition at line 210 of file regex.h.

Referenced by compile().

#define REG_SMALL   0040

Definition at line 244 of file regex.h.

#define REG_STARTEND   0004

Definition at line 241 of file regex.h.

Referenced by regexec().

#define REG_UBACKREF   000001

Definition at line 162 of file regex.h.

Referenced by exec(), and TclRegAbout().

#define REG_UBBS   000100

Definition at line 168 of file regex.h.

Referenced by TclRegAbout().

#define REG_UBOUNDS   000004

Definition at line 164 of file regex.h.

Referenced by TclRegAbout().

#define REG_UBRACES   000010

Definition at line 165 of file regex.h.

Referenced by TclRegAbout().

#define REG_UBSALNUM   000020

Definition at line 166 of file regex.h.

Referenced by TclRegAbout().

#define REG_UEMPTYMATCH   004000

Definition at line 173 of file regex.h.

Referenced by TclRegAbout().

#define REG_UIMPOSSIBLE   010000

Definition at line 174 of file regex.h.

Referenced by exec(), and TclRegAbout().

#define REG_ULOCALE   002000

Definition at line 172 of file regex.h.

Referenced by TclRegAbout().

#define REG_ULOOKAHEAD   000002

Definition at line 163 of file regex.h.

Referenced by TclRegAbout().

#define REG_UNONPOSIX   000200

Definition at line 169 of file regex.h.

Referenced by TclRegAbout().

#define REG_UPBOTCH   000040

Definition at line 167 of file regex.h.

Referenced by TclRegAbout().

#define REG_USHORTEST   020000

Definition at line 175 of file regex.h.

Referenced by compile(), and TclRegAbout().

#define REG_UUNPORT   001000

Definition at line 171 of file regex.h.

Referenced by TclRegAbout().

#define REG_UUNSPEC   000400

Definition at line 170 of file regex.h.

Referenced by TclRegAbout().

#define regerror   TclReError

Definition at line 115 of file regex.h.

#define regfree   TclReFree

Definition at line 114 of file regex.h.


Typedef Documentation

typedef __REG_VOID_T re_void

Definition at line 138 of file regex.h.

typedef __REG_REGOFF_T regoff_t

Definition at line 128 of file regex.h.


Function Documentation

MODULE_SCOPE int __REG_WIDE_COMPILE ( regex_t ,
__REG_CONST __REG_WIDE_T *  ,
size_t  ,
int   
)

MODULE_SCOPE int __REG_WIDE_EXEC ( regex_t ,
__REG_CONST __REG_WIDE_T *  ,
size_t  ,
rm_detail_t ,
size_t  ,
regmatch_t  [],
int   
)

MODULE_SCOPE size_t regerror ( int  ,
__REG_CONST regex_t ,
char *  ,
size_t   
)

MODULE_SCOPE re_void regfree ( regex_t  ) 

Definition at line 45 of file regfree.c.

References regex_t::re_fns.



Generated on Wed Mar 12 12:18:27 2008 by  doxygen 1.5.1