docs for DBRef fetch method
hacking in support for 5.8 regexes
re-organized regex code in order to restore 5.8 support