add ability to substringMatch