Top | ![]() |
![]() |
![]() |
![]() |
int ags_regcomp (regex_t *preg
,const char *regex
,int cflags
);
Compile regular expression language independent. It sets temporaly the locale to C and then reverts it.
Since: 2.0.0
int ags_regexec (const regex_t *preg
,const char *string
,size_t nmatch
,regmatch_t pmatch[]
,int eflags
);
Execute regular expression language independent. It sets temporaly the locale to C and then reverts it.
preg |
pattern buffer storage area |
|
string |
the string to match |
|
nmatch |
match count |
|
pmatch |
match array |
|
eflags |
error flags |
Since: 2.0.0