Yep, this is right.

> From: "Geoff Canyon" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Fri, 6 Apr 2001 08:48:59 -0700
> To: [EMAIL PROTECTED]
> Subject: Re: Using MetaTalk as a HyperText Pre-processor???
> 
> At 5:20 PM +0930 4/6/01, Monte Goulding wrote:
>> Can it be done????
>> 
>> How could we get it to be done??
>> 
>> Wouldn't it be possible to modify mcHTTPd to read certain types of pages and
>> do any lines of mt script it finds?
>> 
>> Any thoughts? Would may people use this???
> 
> I did something like this in SuperCard a few years back, not as a
> live web server/cgi thing, but as a site producing engine. I
> converted the stack to MetaCard a long while ago, but I didn't go
> much beyond that. In any case, it was very do-able.
> 
> I did find MetaCard's regular expression capabilities both very
> useful for this, and very tantalizing (in the negative sense). MC's
> regex is greedy, which makes it difficult (impossible?) to pick out
> matched tags. For example in:
> 
> This is some text with a <special>tag in it.</special> But there is
> more than one <special>tag in this</special> text.
> 
> Any MC regex would grab from the first <special> to the _second_
> </special>, rather than the first. I have a vague memory of
> mentioning this to Scott way back when, and that he said they were
> examining the possibility of having a non-greedy regex available.
> 
> Scott, is my memory correct? And if so, any progress on the non-greedy front?
> 
> In any case, I'd be happy (but a little embarrassed -- primitive
> code) to dig through and make what I did public if anyone is
> interested.
> 
> gc
> 


I have some scripts that get round this. They are part of the XML library I
am working on, anyone interested mail me and I'll add you to the list of
people crying out for this -:)


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to