irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

regExpMatch.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BOOLEAN   int
 
#define TRUE   1
 
#define FALSE   0
 
#define MATCH_PATTERN   6/* bad pattern */
 
#define MATCH_LITERAL   5/* match failure on literal match */
 
#define MATCH_RANGE   4/* match failure on [..] construct */
 
#define MATCH_ABORT   3/* premature end of text string */
 
#define MATCH_END   2/* premature end of pattern string */
 
#define MATCH_VALID   1/* valid match */
 
#define PATTERN_VALID   0/* valid pattern */
 
#define PATTERN_ESC   -1/* literal escape at end of pattern */
 
#define PATTERN_RANGE   -2/* malformed range in [..] construct */
 
#define PATTERN_CLOSE   -3/* no end bracket in [..] construct */
 
#define PATTERN_EMPTY   -4/* [..] construct is empty */
 

Functions

int match (char *pattern, char *text)
 
int matche (char *pattern, char *text)
 
int is_pattern (char *pattern)
 
int is_valid_pattern (char *pattern, int *error_type)
 

Macro Definition Documentation

◆ BOOLEAN

#define BOOLEAN   int

INCLUDE files for :regular expression comparator

Definition at line 28 of file regExpMatch.hpp.

◆ FALSE

#define FALSE   0

Definition at line 30 of file regExpMatch.hpp.

◆ MATCH_ABORT

#define MATCH_ABORT   3/* premature end of text string */

Definition at line 36 of file regExpMatch.hpp.

◆ MATCH_END

#define MATCH_END   2/* premature end of pattern string */

Definition at line 37 of file regExpMatch.hpp.

◆ MATCH_LITERAL

#define MATCH_LITERAL   5/* match failure on literal match */

Definition at line 34 of file regExpMatch.hpp.

◆ MATCH_PATTERN

#define MATCH_PATTERN   6/* bad pattern */

Definition at line 33 of file regExpMatch.hpp.

◆ MATCH_RANGE

#define MATCH_RANGE   4/* match failure on [..] construct */

Definition at line 35 of file regExpMatch.hpp.

◆ MATCH_VALID

#define MATCH_VALID   1/* valid match */

Definition at line 38 of file regExpMatch.hpp.

◆ PATTERN_CLOSE

#define PATTERN_CLOSE   -3/* no end bracket in [..] construct */

Definition at line 43 of file regExpMatch.hpp.

◆ PATTERN_EMPTY

#define PATTERN_EMPTY   -4/* [..] construct is empty */

Definition at line 44 of file regExpMatch.hpp.

◆ PATTERN_ESC

#define PATTERN_ESC   -1/* literal escape at end of pattern */

Definition at line 41 of file regExpMatch.hpp.

◆ PATTERN_RANGE

#define PATTERN_RANGE   -2/* malformed range in [..] construct */

Definition at line 42 of file regExpMatch.hpp.

◆ PATTERN_VALID

#define PATTERN_VALID   0/* valid pattern */

Definition at line 40 of file regExpMatch.hpp.

◆ TRUE

#define TRUE   1

Definition at line 29 of file regExpMatch.hpp.

Function Documentation

◆ is_pattern()

int is_pattern ( char *  pattern)

◆ is_valid_pattern()

int is_valid_pattern ( char *  pattern,
int error_type 
)

◆ match()

◆ matche()

int matche ( char *  pattern,
char *  text 
)