Post Reply 
Using $NEST
Jan. 03, 2009, 08:02 AM
Post: #3
RE: Using $NEST
(Jan. 03, 2009 07:36 AM)Kye-U Wrote:  Try:

Code:
<table[^>]++class=$AV(maintable)[^>]++>$INEST(<table,</table>)</table>

More information on $INEST:

http://proxomitron.info/45/help/Matching...html#INEST

That works, thanks! I thought it may have been a bug in Proxomitron, I tried it in Proximodo and it crashed 4 times in the 15 minutes I had it installed.

I did read in the help file about NEST and INEST, but I didn't see that INEST also supported "inner match" (which I will need to test the tables contents before hiding it) because it wasn't used in the sample and I didn't notice it in the title with the syntax.

But, why use [^>]++ instead of *? Is * greedy? Shouldn't [^>]++class and *class be the same thing, assuming there is no > before class?

[^>]++class means any run of characters that isn't > up until class
*class means any run of characters up until class

Is that right?
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Using $NEST - Quaraxkad - Jan. 03, 2009, 03:26 AM
RE: Using $NEST - Kye-U - Jan. 03, 2009, 07:36 AM
RE: Using $NEST - Quaraxkad - Jan. 03, 2009 08:02 AM
RE: Using $NEST - Kye-U - Jan. 03, 2009, 08:04 AM
RE: Using $NEST - Quaraxkad - Jan. 03, 2009, 08:08 AM
RE: Using $NEST - Quaraxkad - Jan. 03, 2009, 11:11 AM
RE: Using $NEST - sidki3003 - Jan. 03, 2009, 12:46 PM
RE: Using $NEST - lnminente - Jan. 03, 2009, 03:40 PM
RE: Using $NEST - PAEz - Nov. 14, 2009, 06:02 PM
RE: Using $NEST - JJoe - Nov. 14, 2009, 09:32 PM
RE: Using $NEST - PAEz - Nov. 15, 2009, 07:16 AM
RE: Using $NEST - JJoe - Nov. 15, 2009, 03:46 PM

Forum Jump: