Revision: 13429
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 23, 2009 14:00 by aanooj
Initial Code
<cfset var LOCAL = StructNew() /> <cfset LOCAL.Tag = StructNew() /> <cfset LOCAL.templates = structnew() /> <cfset LOCAL.NamePattern = CreateObject( "java", "java.util.regex.Pattern" ).Compile( "(<cfinclude[\s+]*[\w+\s*=\s*""""|[^\s>]*]*>)" ) /> <cfset LOCAL.NameMatcher = LOCAL.NamePattern.Matcher(ARGUMENTS.HTML) /> <cfset count = 1 > <cfloop condition="LOCAL.NameMatcher.Find()"> <cfset LOCAL.Tag[count] = UCase(LOCAL.NameMatcher.Group( 1 )) /> <cfset count = count +1 > </cfloop>
Initial URL
Initial Description
Initial Title
read complet list of cfinclude tags from coldfusion code
Initial Tags
regex
Initial Language
ColdFusion