make regexs match references and citations

Signed-off-by: James Rubingh <james@wrive.com>