Implement escaping of seqids for use as regex patterns in -matchdesc

Closes #330.