> are you suggesting dropping the regex handling and limit it to > substring matching? In either case, does using expr save us anything > (isn't expr a shell command)? I had something along this line in mind, not to do a regex but a glob. case "$title" in $selector) found=1 ;; esac