mirror of https://github.com/BOINC/boinc.git
42 lines
1.3 KiB
C
42 lines
1.3 KiB
C
|
/*
|
||
|
Copyright (c) 1986, 1993, 1995 by University of Toronto.
|
||
|
Written by Henry Spencer. Not derived from licensed software.
|
||
|
|
||
|
Permission is granted to anyone to use this software for any
|
||
|
purpose on any computer system, and to redistribute it in any way,
|
||
|
subject to the following restrictions:
|
||
|
|
||
|
1. The author is not responsible for the consequences of use of
|
||
|
this software, no matter how awful, even if they arise
|
||
|
from defects in it.
|
||
|
|
||
|
2. The origin of this software must not be misrepresented, either
|
||
|
by explicit claim or by omission.
|
||
|
|
||
|
3. Altered versions must be plainly marked as such, and must not
|
||
|
be misrepresented (by explicit claim or omission) as being
|
||
|
the original software.
|
||
|
*** THIS IS AN ALTERED VERSION. It was altered by Benoit
|
||
|
*** Goudreault-Emond, bge@videotron.ca, on 2002/01/03, to add \< and
|
||
|
*** \> for word matching, as well as pseudo character classes. It
|
||
|
*** also handles wide characters quite well now. Also, the API was
|
||
|
*** changed so an arbitrary number of parenthesized expressions can
|
||
|
*** be used (and so were the internals of the regexp engine).
|
||
|
***
|
||
|
*** In general, the new API should be more re-entrant.
|
||
|
|
||
|
4. This notice must not be removed or altered.
|
||
|
*/
|
||
|
|
||
|
#include "regexp_int.h"
|
||
|
#include "regexp_custom.h"
|
||
|
|
||
|
#include <stdio.h>
|
||
|
|
||
|
void re_report(const char* error)
|
||
|
{
|
||
|
// trace errors
|
||
|
fprintf(stderr, "REGEXP ERROR: %s\n", error);
|
||
|
}
|
||
|
|