The minimal query that causes the segfault is:
matches('qwerty','(a))')
All the other option stuff isn't needed. (It took only a few seconds to check this as the submitter should have done.)
The minimal query that causes the segfault is:
matches( 'qwerty' ,'(a))' )
All the other option stuff isn't needed. (It took only a few seconds to check this as the submitter should have done.)