add option for unique matches
add RegExp to the match rules