#include <EXTERN.h>#include <perl.h>#include "cinterf.h"Defines | |
| #define | MATCH -1 |
| #define | PREMATCH -2 |
| #define | POSTMATCH -3 |
| #define | LAST_PAREN_MATCH -4 |
| #define | MAX_SUB_MATCH 20 |
| #define | MAX_TOTAL_MATCH (MAX_SUB_MATCH+4) |
| #define | FIXEDSUBMATCHSPEC "($&,$`,$',$+" |
| #define | SUCCESS 1 |
| #define | FAILURE 0 |
| #define | LOADED 1 |
| #define | UNLOADED 0 |
| #define | TRUE 1 |
| #define | FALSE 0 |
Functions | |
| int | matchAgain (void) |
| int | loadPerl (void) |
| int | unloadPerl (void) |
| SV * | my_perl_eval_sv (SV *sv, I32 croak_on_error) |
| int | match (SV *string, char *pattern) |
| int | substitute (SV **string, char *pattern) |
| int | all_matches (SV *string, char *pattern, AV **match_list) |
| void | buildSubMatchSpec (void) |
Variables | |
| char * | matchResults [MAX_TOTAL_MATCH] |
| char ** | bulkMatchList |
| int | preBulkMatchNumber |
| char * | matchPattern |
| int | perlObjectStatus |
| char * | substituteString |
| char * | subMatchSpec |
| static PerlInterpreter * | my_perl |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.5