| action | CPAN upload: Perl-Tidy-20070508 (+++++) by SHANCOCK |
| CPAN | upload: Perl-Tidy-20070508 (+++++) by SHANCOCK |
| b_jonas | night |
| Chris62vw | day |
| integral | gah, I thought this restore would be fast since I store the archive on disk, but apparantly not *sigh* |
| v-dogg | good evening. how can I match "anything but </h" with regexp? |
| mauke | v-dogg: use a html parser |
| integral | perlbot, html parser perlbot, parse html |
| perlbot | Don't even THINK about using regular expressions; to parse HTML go to http://search.cpan.org/search?query=parse+html&mode=module |
| v-dogg | I'm looking for a regexp to remove all headings, nothing more |
| mauke | v-dogg: there is no such regexp |
| integral | So? Use a HTML Parse. With tree builder, you just look_down for each heading and remove it. simple. |
| mauke | I'm looking for a regexp to cure cancer, nothing more |
| v-dogg | har har |
| mauke | somebody should patch the regex engine to reject patterns that look HTMLy |
| amnesiac | mauke, uhm? |
| v-dogg | now you are just being silly |
| mauke | it could trigger on '</' |
| integral | People have been killed over less. |
| mauke | and maybe '<a', '<h', '<img', '<p' |
| rindolf | Hi amnesiac |
| SubStack | but that would require a regular expression |
| perlygatekeeper | OH NO! NOT a REGULAR EXRESSION! |
| integral | Good night. |
| mauke | I'm pretty sure the regex compiler doesn't use regexes |
| integral | my perl impl did. |
| amnesiac | hey rindolf ! mauke, what do you mean bu "trigger on"? |
| SubStack | GumbyBRAIN =~ m/<(a|h|img|p)\b/ ? die "pmgwtfhtml" : die "death by chocolate!" |
| GumbyBRAIN | Chocolate is a p5 repeater? |
| Chris62vw | perlbot say in #perl GumbyBRAIN: dongs |
| perlbot | GumbyBRAIN: dongs |
| GumbyBRAIN | al qumar is their book of dongs. |
| dunstabulos | does anyone know why par doesn't seem to include crypt::slleay's dll files on windows (i'm using WWW:Mechanize)? I have fixed the problem by distributing the files with the app, but i was hoping for an all in one .exe |
| hobbs | dunstabulos: because you didn't tell it to, probably. |
| dunstabulos | hobbs: is there a magic switch? i've just been using -o hitherto |
| hobbs | dunstabulos: pp can't always automatically figure out every file to include, especially if things are loaded at runtime, but you can easily tell it about anything that it missed. Check the manual. |
| dunstabulos | i see i was using -a instead of -i. i'll fix in the next version |
| hobbs | (I'd give you the switch myself but I don't have the manual handy. Really, it's easy to find.) |