nilportugues/sitemap-component — pull request #31 by komita1981 (2014-09-09 22:25:11+00:00)
Title: Check if index 0 exists in $matches array

Result of preg_match function can be empty array so we check if index 0 exists. Additional test also added.