6 |
and semantics are as close as possible to those of the Perl 5 language. |
and semantics are as close as possible to those of the Perl 5 language. |
7 |
|
|
8 |
Written by Philip Hazel |
Written by Philip Hazel |
9 |
Copyright (c) 1997-2006 University of Cambridge |
Copyright (c) 1997-2007 University of Cambridge |
10 |
|
|
11 |
----------------------------------------------------------------------------- |
----------------------------------------------------------------------------- |
12 |
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
42 |
string that identifies the PCRE version that is in use. */ |
string that identifies the PCRE version that is in use. */ |
43 |
|
|
44 |
|
|
45 |
|
#ifdef HAVE_CONFIG_H |
46 |
|
#include <config.h> |
47 |
|
#endif |
48 |
|
|
49 |
#include "pcre_internal.h" |
#include "pcre_internal.h" |
50 |
|
|
51 |
|
|
79 |
pre-processor time. This hack uses a standard trick for avoiding calling |
pre-processor time. This hack uses a standard trick for avoiding calling |
80 |
the STRING macro with an empty argument when doing the test. */ |
the STRING macro with an empty argument when doing the test. */ |
81 |
|
|
82 |
PCRE_DATA_SCOPE const char * |
PCRE_EXP_DEFN const char * |
83 |
pcre_version(void) |
pcre_version(void) |
84 |
{ |
{ |
85 |
return (XSTRING(Z PCRE_PRERELEASE)[1] == 0)? |
return (XSTRING(Z PCRE_PRERELEASE)[1] == 0)? |