Function

Agsregexec

since: 3.0.0

Declaration [src]

int
ags_regexec (
  const regex_t* preg,
  const char* string,
  size_t nmatch,
  regmatch_t* pmatch,
  int eflags
)

Description [src]

Execute regular expression language independent. It sets temporaly the locale to C and then reverts it.

Available since: 3.0.0

This function is not directly available to language bindings.

Parameters

preg

Type: const regex_t*

Pattern buffer storage area.

The data is owned by the caller of the function.
string

Type: const char*

The string to match.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
nmatch

Type: size_t

Match count.

pmatch

Type: regmatch_t*

Match array.

The data is owned by the caller of the function.
eflags

Type: int

Error flags.

Return value

Type: int

No description available.