batch parenthesis matching

batch parenthesis matching

Omer Zak w1 at zak.co.il
Thu Aug 6 22:35:18 IDT 2009


I suggest that BeautifulSoup be used (from Python).
Using it you can parse and transform your HTML file.

--- Omer


On Thu, 2009-08-06 at 18:45 +0000, Tzafrir Cohen wrote:
> On Thu, Aug 06, 2009 at 09:33:43PM +0300, Erez D wrote:
> 
> > the problem is that between <span class="myclass"...> and its </span> there
> > may be other <span class="otherclass"...> and its </span>
> > 
> > that is why i wanted parenthesis matching...
> 
> Also:
> 
> <span> <!-- </span> --> 
> bla
> </span>
-- 
We will only have peace with the Arabs when they love their children
more than they hate us.
               Golda Meir (Israeli Prime Minister between 1969-1974)
My own blog is at http://www.zak.co.il/tddpirate/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html




More information about the Linux-il mailing list