look for ? char with end_with? instead of string indexing
Signed-off-by: Mike Munroe <mike@mikemunroe.com>