00001 /****************************************************************************** 00002 * $Id: regularexp.h,v 1.5 2003/12/13 13:12:26 gareuselesinge Exp $ 00003 * This file is part of liberopops (http://liberopops.sf.net) * 00004 * This file is distributed under the terms of GNU GPL license. * 00005 ******************************************************************************/ 00006 00007 00008 /******************************************************************************/ 00015 /******************************************************************************/ 00016 00017 #ifndef REGULAREXP_H_ 00018 #define REGULAREXP_H_ 00019 00020 #include <sys/types.h> 00021 #include <regex.h> 00022 00025 #define begin rm_so 00026 #define end rm_eo 00027 00028 00035 regmatch_t regfind(const char* from,const char* exp); 00036 00043 regoff_t regfind_start(const char* from, const char* exp); 00044 00051 regoff_t regfind_end(const char* from, const char* exp); 00052 00059 int regfind_count(const char* from, const char* exp); 00060 00061 #endif
1.3.6-20040222