fix ref regex

so that it doesnt match <references />
change <references /> to reflist