Yes.

"[^\]+\\[^\]+$"

Forgot GBTP() returns the file, too.  That's what I get for trying to work
on my tasks and someone else's, too.  :-)

Need to cut back on that multitasking -- too many memory leaks.

  --Ben Doom
    Programmer & General Lackey
    Moonbow Software

: -----Original Message-----
: From: Webmaster [mailto:[EMAIL PROTECTED]]
: Sent: Wednesday, September 11, 2002 3:18 PM
: To: CF-Talk
: Subject: RE: cfdirectory
:
:
: I also notice that that put the name of the file out is there any way to
: clear that out?
:
: -----Original Message-----
: From: Ben Doom [mailto:[EMAIL PROTECTED]]
: Sent: Wednesday, September 11, 2002 1:36 PM
: To: CF-Talk
: Subject: RE: cfdirectory
:
:
: Oops.  Typo.  Too many parens.
:
: Try:
: <cfset uppath=rereplace(GetBaseTemplatePath(), "[^\]+\\$", "")>
:
: This isn't a tested copy, btw.  It's cut down from something more
: complex I
: did.  But it ought to give a good idea of what to do, even if it doesn't
: work.  If it doesn't make sense, I'd be happy to explain, but let's move
: over to CF-RegEx where this particular solution would be more on-topic.
:
:
:
:   --Ben Doom
:     Programmer & General Lackey
:     Moonbow Software

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to