id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1600	normalize_address() confused by whitespace	mikepease	robe	"If there is a tab or newline at the beginning or end of an address string, normalize_address() incorrectly parses the address components.

select * from normalize_address('212 n 3rd ave, Minneapolis, mn 55401
')

select * from normalize_address('
212 n 3rd ave, Minneapolis, mn 55401')


Can your function start off by cleaning up whitespace on the input string?
When I don't make sure to send input clean of whitespace, I get poor results.

Something like...
trim(regexp_replace('	212 n 3rd ave, Minneapolis, mn 55401', '\r|\n', ' ', 'g'))

e.g.
select normalize_address(trim(raw_address))

"	defect	assigned	medium	PostGIS 2.1.0	pagc_address_parser	1.5.X			woodbri
