adding regex matching of urls; adding parent support to object