bugfix: segfault if re_extract() function was used and no match found