Referring to named capturing group when the group has not
A memory leaks.
Code to obtain a named capture group value has been corrected
not to allocated a new memory if no match has occurred.
Using value of non-matched capturing group does not leak