move URI_SUFFIX_REGEXP inside method