im displaying a pre and this is only for sql code right now so that shouldnt be a problem, but ill definately keep that in mind.
by the way, I did get the parenthesis to work: <cfset out = REreplace(out, "(\([^']*\))", "<strong class=""paren"">\1</strong>", "all") /> On 9/21/05, S. Isaac Dealey <[EMAIL PROTECTED]> wrote: > > Hey I tried \1 instead of $1 and it looks like its > > working! Going to test more to make sure... > > Oops! Sorry, I didn't notice that in Barney's post... $ is used by > Dreamweaver, JavaScript and I think ActionScript 2.0 (I believe it's > part of the ECMA standard) to indicate a back-reference... ColdFusion > has always used \ to indicate them. > > > im sorry, htmleditformat()? why would I need that again? > > To make sure that if the query has a > or < in it that those > characters are converted to html entities before they're displayed... > otherwise, a query like this: > > select * from table where x < #x# and y > #y# > > will display in the browser like this: > > select * from table where x #y# > > > s. isaac dealey 954.522.6080 > new epoch : isn't it time for a change? > > add features without fixtures with > the onTap open source framework > > http://www.fusiontap.com > http://coldfusion.sys-con.com/author/4806Dealey.htm > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218855 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

