0139ee4b99
* NEW: MATCH is a new operator that automatically load the gb.pcre component to implement PCRE pattern matching. The syntax is the same as the LIKE operator. [COMPILER] * NEW: Add a new MATCH operator. [GB.FORM] * BUG: The directory contents size task does not abort anymore when accessing an unreadable files or directory. It now ignore them. * NEW: When errors are raised while browsing the contents of a directory, the file properties dialog display them is a new tab. [GB.PCRE] * NEW: Create an API interface for allowing other components to use PCRE regular expressions. git-svn-id: svn://localhost/gambas/trunk@5730 867c0c6c-44f3-4631-809d-bfa615b0a4ec
40 lines
1.2 KiB
C
40 lines
1.2 KiB
C
/***************************************************************************
|
|
|
|
gb.pcre.h
|
|
|
|
(c) 2000-2013 Benoît Minisini <gambas@users.sourceforge.net>
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2, or (at your option)
|
|
any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
MA 02110-1301, USA.
|
|
|
|
***************************************************************************/
|
|
|
|
#ifndef __GB_PCRE_H
|
|
#define __GB_PCRE_H
|
|
|
|
#include "gambas.h"
|
|
|
|
#define PCRE_INTERFACE_VERSION 1
|
|
|
|
typedef
|
|
struct {
|
|
int version;
|
|
bool (*Match)(const char *subject, int lsubject, const char *pattern, int lpattern, int coptions, int eoptions);
|
|
}
|
|
PCRE_INTERFACE;
|
|
|
|
#endif
|
|
|
|
|