This commit removes the previous smart case detection logic and replaces it with detection based on the regex AST. This particular AST is a faithful representation of the concrete syntax, which lets us be very precise in how we handle it. Closes #851
grep
This is a library that provides grep-style line-by-line regex searching (with
comparable performance to grep itself).