Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python
Re: What's the best way to write this regular expression?
 

Index | Next | Previous | View Flat


johnjsal at gmail

Mar 6, 2012, 3:33 PM


Views: 496
Permalink
Re: What's the best way to write this regular expression? [In reply to]

On Tuesday, March 6, 2012 5:05:39 PM UTC-6, John Salerno wrote:
> > Anything that allows me NOT to use REs is welcome news, so I look forward to learning about something new! :)
>
> I should ask though...are there alternatives already bundled with Python that I could use? Now that you mention it, I remember something called HTMLParser (or something like that) and I have no idea why I never looked into that before I messed with REs.
>
> Thanks.

::sigh:: I'm having some trouble with the new Google Groups interface. It seems to double post, and in this case didn't post at all. If it did already, I apologize. I'll try to figure out what's happening, or just switch to a real newsgroup program.

Anyway, my question was about Beautiful Soup. I read on the doc page that BS uses a parser, which html.parser and lxml are. So I'm guessing the difference between them is that the parser is a little more "low level," whereas BS offers a higher level approach to using them? Is BS easier to write code with, while still using the power of lxml?
--
http://mail.python.org/mailman/listinfo/python-list

Subject User Time
What's the best way to write this regular expression? johnjsal at gmail Mar 6, 2012, 2:43 PM
    Re: What's the best way to write this regular expression? clp2 at rebertia Mar 6, 2012, 2:52 PM
    Re: What's the best way to write this regular expression? johnjsal at gmail Mar 6, 2012, 3:02 PM
    Re: What's the best way to write this regular expression? johnjsal at gmail Mar 6, 2012, 3:02 PM
    Re: What's the best way to write this regular expression? johnjsal at gmail Mar 6, 2012, 3:05 PM
    Re: What's the best way to write this regular expression? johnjsal at gmail Mar 6, 2012, 3:05 PM
    Re: What's the best way to write this regular expression? johnjsal at gmail Mar 6, 2012, 3:25 PM
    Re: What's the best way to write this regular expression? johnjsal at gmail Mar 6, 2012, 3:33 PM
    Re: What's the best way to write this regular expression? johnjsal at gmail Mar 6, 2012, 3:33 PM
    Re: What's the best way to write this regular expression? ian.g.kelly at gmail Mar 6, 2012, 3:35 PM
    Re: What's the best way to write this regular expression? johnjsal at gmail Mar 6, 2012, 3:39 PM
    Re: What's the best way to write this regular expression? steve+comp.lang.python at pearwood Mar 6, 2012, 3:44 PM
    Re: What's the best way to write this regular expression? johnjsal at gmail Mar 6, 2012, 3:57 PM
    RE: What's the best way to write this regular expression? ramit.prasad at jpmorgan Mar 6, 2012, 4:04 PM
    Re: What's the best way to write this regular expression? tjreedy at udel Mar 6, 2012, 5:04 PM
    Re: What's the best way to write this regular expression? tjreedy at udel Mar 6, 2012, 5:06 PM
    Re: What's the best way to write this regular expression? roy at panix Mar 6, 2012, 5:26 PM
    Re: What's the best way to write this regular expression? johnjsal at gmail Mar 6, 2012, 11:02 PM
    Re: What's the best way to write this regular expression? no.email at nospam Mar 7, 2012, 2:36 AM
        Re: RE: What's the best way to write this regular expression? driscoll at cs Mar 7, 2012, 2:02 PM
    Re: What's the best way to write this regular expression? johnjsal at gmail Mar 7, 2012, 12:39 PM
    Re: What's the best way to write this regular expression? ian.g.kelly at gmail Mar 7, 2012, 1:01 PM
    Re: What's the best way to write this regular expression? johnjsal at gmail Mar 7, 2012, 1:11 PM
    Re: What's the best way to write this regular expression? benjamin.kaplan at case Mar 7, 2012, 1:27 PM
    RE: What's the best way to write this regular expression? ramit.prasad at jpmorgan Mar 7, 2012, 1:31 PM
    Re: What's the best way to write this regular expression? ian.g.kelly at gmail Mar 7, 2012, 1:34 PM
    Re: What's the best way to write this regular expression? johnjsal at gmail Mar 7, 2012, 1:44 PM
    Re: What's the best way to write this regular expression? rosuav at gmail Mar 7, 2012, 9:03 PM
    Re: What's the best way to write this regular expression? johnjsal at gmail Mar 7, 2012, 11:25 PM
    Re: What's the best way to write this regular expression? johnjsal at gmail Mar 7, 2012, 11:26 PM
    Re: What's the best way to write this regular expression? johnjsal at gmail Mar 8, 2012, 1:33 PM
    Re: What's the best way to write this regular expression? johnjsal at gmail Mar 8, 2012, 1:40 PM
    Re: What's the best way to write this regular expression? johnjsal at gmail Mar 8, 2012, 1:52 PM
    Re: What's the best way to write this regular expression? gordon at panix Mar 8, 2012, 1:54 PM
    Re: What's the best way to write this regular expression? d at davea Mar 8, 2012, 2:19 PM
        Re: What's the best way to write this regular expression? johnjsal at gmail Mar 8, 2012, 2:25 PM
        Re: What's the best way to write this regular expression? ethan at stoneleaf Mar 8, 2012, 2:52 PM
    RE: What's the best way to write this regular expression? ramit.prasad at jpmorgan Mar 8, 2012, 3:02 PM
    Re: What's the best way to write this regular expression? d at davea Mar 8, 2012, 3:23 PM
    Re: What's the best way to write this regular expression? wuwei23 at gmail Mar 8, 2012, 7:38 PM
    Re: What's the best way to write this regular expression? johnjsal at gmail Mar 8, 2012, 7:52 PM
    Re: What's the best way to write this regular expression? jkn_gg at nicorp Mar 9, 2012, 2:45 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.