Regex.unref

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

class Regex
void
unref
()

Meta

Since

2.14