changing regex in webapp to match case