language utils: lazily load regular expression collectors

(integrated from trunk branch change b8236fe by Todd Whiteman <toddw@activestate.com>)