Hmmm... CF_REextract looks useful, but the problem is that
I'd have to know enough regex to tell it what "RE1" and "RE2"
should be.  If I knew that, I could probably write the regex.

This shouldn't be too hard... I can look up a regex reference
and probably set it up.

It's just a matter of converting all spaces, or chr(32)'s,
to &nbsp; except those between < and >.

I was just thinking someone might know how to do it off the top
of their head, without any effort.

Thanks for the reference to CF_REextract, et al.  They all look
useful!

Rick

> -----Original Message-----
> From: Claude Schneegans [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 11, 2007 5:37 PM
> To: CF-Talk
> Subject: Re: Why does this code disable styling?
> 
>  >>Know how to regex that, Claude?
> 
> Must not be simple.
> I'm too lazy, this is why I made CF_REextract.
> If I had to do it, I would use CF_REextract for sure.
> 1ยบ get all strings outside tags and their location,
> 2 loop on the query backward and replace spaces in these strings
> 
> See CF_REextract:
> http://www.contentbox.com/claude/customtags/REextract/testREextract.cfm
> 
> .... and yes: it is CF4.5 compatible ;-)
> 
> --
> _______________________________________
> REUSE CODE! Use custom tags;
> See http://www.contentbox.com/claude/customtags/tagstore.cfm
> (Please send any spam to this address: [EMAIL PROTECTED])
> Thanks.
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290891
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to