See revised test case which still breaks

<cffunction name="ProcessAssetRenderers" access="public"
returnType="string" hint="a parsing routine">
        <cfargument name="container_content" required="true" type="string"
hint="The content string to process.">
        <cfscript>
                var startpos=1;
                var openpos=1;
                var closepos='';
                openpos         = REFind("<[img,IMG]+[^>^<]+fileid",
arguments.container_content, startpos);
                closepos        = REFind(">", arguments.container_content, 
openpos);
        </cfscript>

        <cfreturn "not really important i break before">
</cffunction>

<cfset processAssetRenderers("foo bar")>

On Feb 8, 12:57 am, "Peter J. Farrell" <[email protected]> wrote:
> I do believe you are hitting an issue recently reported:
>
> http://code.google.com/p/openbluedragon/issues/detail?id=284
>
> Andy or Alan can give you better ETA on when that will be fixed.
>
> .pjf
>
> AlexS said the following on 02/07/2011 06:51 PM:
>
>
>
>
>
>
>
> > <cffunction name="ProcessAssetRenderers" access="public"
> > returnType="string" hint="a parsing routine">
> >    <cfargument name="container_content" required="true" type="string"
> > hint="The content string to process.">
> >    <cfscript>
> >            var startpos=1;
> >            var openpos=1;
> >            var closepos='';
> >            var nCount = 0;
>
> >            while(openpos){
>
> >                    openpos         = REFind("<[img,IMG]+[^>^<]+fileid",
> > arguments.container_content, startpos);
> >                    closepos        = REFind(">", 
> > arguments.container_content, openpos);
>
> > //a whole lot of parsing stuff
>
> >            }//End of while loop
>
> >    </cfscript>
>
> >    <cfreturn "not really important i break before">
> > </cffunction>
>
> > <cfset processAssetRenderers("foo bar")>

-- 
tag/function ref: http://www.openbluedragon.org/manual/
 mailing list - http://groups.google.com/group/openbd?hl=en

 Get to Texas in Feb for OpenCFSummit http://www.opencfsummit.org/

Reply via email to