simplify delimiter specification

This commit allows users to specify delimiters as a pair of start and
stop tags. It constructs the required regular expression taking care
to escape regexes as necessary. It uses escape_regex from utils.R.