> Just a minor nitcpick, both the alternives match the empty string, I > would rather write it to avoid overlap: > > "‘\\([‘’]\\|[^‘’]*\\)’" > > or > > "‘\\([‘’]?\\|[^‘’]+\\)’" Hello Noam. Thanks for the correction. I'll adjust the regexp accordingly.