id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 686,regex_token_iterator can segfault,dakkar,John Maddock,"{{{ regex_token_iterator and u32regex_token_iterator can dereference a 0 pointer in the following case: - iterating over a string with no matches for the split regexp - asking for non-matches (the submatches array starts with -1) - incrementing the iterator the first time in the non-unicode version, nothing happens; but in the unicode version, the underlying u8_to_u32_iterator causes a segfault. I'm attaching a small test case, and a (seems working) patch. }}}",Bugs,closed,,regex,None,,Fixed,,