code: public List<CmsResource> getMatchedResources() {
  
          if (m_replace) {
              // re-read the resources to include changes
              List<CmsResource> result = new ArrayList<CmsResource>();
              for (CmsResource resource : m_matchedResources) {
                  try {
                      result.add(getCms().readResource(resource.getStructureId()));
                  } catch (CmsException e) {
                      LOG.error(e.getLocalizedMessage(), e);
                  }
              }
              return result;
          } else {
              return new ArrayList<CmsResource>(m_matchedResources);
          }
      }
docs: Returns the matched resources.<p>
  
  @return the matched resources