Property definitions

core $ NativeMatchArray :: defaultinit
# An array of `regmatch_t` or a pointer to one
private extern class NativeMatchArray `{ regmatch_t* `}
	# Allocate a new array of `length` `regmatch_t`
	new malloc(length: Int) `{ return malloc(length * sizeof(regmatch_t)); `}

	# The offset in string of the beginning of a substring
	fun rm_so: Int `{ return self->rm_so; `}

	# The offset in string of the end of the substring
	fun rm_eo: Int `{ return self->rm_eo; `}

	# Get a pointer to the element at `index`, can also be used as a subarray
	fun [](index: Int): NativeMatchArray `{ return self + index; `}
end
lib/core/re.nit:103,1--116,3