Fix typoed character ranges (A-z => A-Z)

Signed-off-by: James McCoy <vega.james@gmail.com>

Merge to v6.0