Use RegExp to match options