Allow - ~ and . in course, branch, & block ids