I am trying to have a generic way of finding out about the realtionships of pages to one another.
Like page form1.cfm post to form1handler.cfm
And page usecustomtags.cfm uses custom tags <cf_font>,<cf_wrapper> ...
I have it so I can read the directory loop through each file, but I am having trouble with the working with coldfusion regular expressions.
I can find one form with:
<CFSCRIPT>
reg_expression = "action=[^>]*>";
mystub="True";
mystruct = REFindNoCase(reg_expression,text,1,mystub);
</CFSCRIPT>
but I do not know how to get back mulitple matches like:
<CFSET st1 = REFindNoCase("([[:alpha:]]+)[ ]+(\1)",testString,1,"TRUE"
>
Any help would be appreciated.
Thank you
Aaron
Like page form1.cfm post to form1handler.cfm
And page usecustomtags.cfm uses custom tags <cf_font>,<cf_wrapper> ...
I have it so I can read the directory loop through each file, but I am having trouble with the working with coldfusion regular expressions.
I can find one form with:
<CFSCRIPT>
reg_expression = "action=[^>]*>";
mystub="True";
mystruct = REFindNoCase(reg_expression,text,1,mystub);
</CFSCRIPT>
but I do not know how to get back mulitple matches like:
<CFSET st1 = REFindNoCase("([[:alpha:]]+)[ ]+(\1)",testString,1,"TRUE"
Any help would be appreciated.
Thank you
Aaron