From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rustom Mody Newsgroups: gmane.emacs.help Subject: Re: Search StackOverflow and paste code snippets without leaving the edited file Date: Fri, 3 Jan 2014 23:23:00 +0530 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1388771607 25486 80.91.229.3 (3 Jan 2014 17:53:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Jan 2014 17:53:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 03 18:53:35 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vz8wA-0002Cu-MK for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Jan 2014 18:53:34 +0100 Original-Received: from localhost ([::1]:51043 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vz8wA-0000BE-D5 for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Jan 2014 12:53:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vz8vz-0000B7-4U for help-gnu-emacs@gnu.org; Fri, 03 Jan 2014 12:53:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vz8vy-0006Zo-4V for help-gnu-emacs@gnu.org; Fri, 03 Jan 2014 12:53:23 -0500 Original-Received: from mail-pd0-x22e.google.com ([2607:f8b0:400e:c02::22e]:37927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vz8vx-0006ZL-Td for help-gnu-emacs@gnu.org; Fri, 03 Jan 2014 12:53:22 -0500 Original-Received: by mail-pd0-f174.google.com with SMTP id x10so15500060pdj.19 for ; Fri, 03 Jan 2014 09:53:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=vFv3YfPx3hAgxqgqCv/OqC8GrPsdHxIgRtJKRmJCS8I=; b=HXTOsN1ghttwPasUhRmGRSy/riO9n/RT2jOPPk2qMgzkprICzBNOd+C8274k6+x0nB 4wekBl5tsgOHk00GgY9zvU3VcuOEBNLOsBNviuXgLRrCb3wmxs9pV8MAbTCAIcZAa8se ix3O0eqxflcSuk0a40S5RzQ/OJ2f/v7XlaE+34ksgyMIy+gjlmoRHMvw8hR+2gtwMLaS 8j1U7uS/9A2Gj3biGbcY98fKdE9pvg/hZd2ZxTYE5ruY/Qyw5v/k6bRLpa3bBXUkUBNl K1XuUyCSw5g+CL4xXm545pCXEr6cLU7+vSqks5iujxUU1CrNUwfl7KXfM4Ie1m0BbOnU pT9w== X-Received: by 10.68.91.3 with SMTP id ca3mr95790864pbb.20.1388771600384; Fri, 03 Jan 2014 09:53:20 -0800 (PST) Original-Received: by 10.68.99.35 with HTTP; Fri, 3 Jan 2014 09:53:00 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::22e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95238 Archived-At: Andrey Tykhonov wrote: > I was looking for a elisp library which will help to parse html. And I > found libxml-parse-html-region but I was not able to use it as my emacs > required to be re-compiled with libxml. Well, I recompiled it and now that > function is available for me but I decided to avoid usage of this function > as this dependency may be broken for someone else. So for html-parsing I > used regexps. May be that was wrong decision to use regexps... I would > like to hear your opinions about it. Parsing html with regexp?? Well there is this famous stack overflow post you should see http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1758162#1758162