Fix a insufficient regexp, fixes #1633