core :: NativeRegex :: regexec
string
against the precompiled pattern buffer of self
, locating matchesnmatch
and pmatch
are used to provide information regarding the location of any matches.
eflags
may be the bitwise-or of one or both of flag_notbol
and flag_noteol
.
# Match `string` against the precompiled pattern buffer of `self`, locating matches
#
# `nmatch` and `pmatch` are used to provide information regarding the location of any matches.
# `eflags` may be the bitwise-or of one or both of `flag_notbol` and `flag_noteol`.
fun regexec(string: CString, nmatch: Int, pmatch: NativeMatchArray, eflags: Int): Int `{
return regexec(self, string, nmatch, pmatch, eflags);
`}
lib/core/re.nit:49,2--55,3