unref

fun unref()(source)

Decreases reference count of @regex by 1. When reference count drops to zero, it frees all the memory associated with the regex structure.

Since

2.14