Fix link trail regexp to disallow 'i' and '1'

Change-Id: Icfea7202cb5633d3fb972c90db05c8a4f8956a03