From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: italics regexp Date: Tue, 20 Jul 2010 17:25:24 +0200 Message-ID: <29120718-B6B9-4298-8E59-BC2DE35DC50A@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: multipart/mixed; boundary=Apple-Mail-1-684613728 Return-path: Received: from [140.186.70.92] (port=49752 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObFd0-0002n2-7D for emacs-orgmode@gnu.org; Tue, 20 Jul 2010 12:25:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObFcq-00011z-0H for emacs-orgmode@gnu.org; Tue, 20 Jul 2010 12:25:00 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:37434) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObFcp-00011s-Om for emacs-orgmode@gnu.org; Tue, 20 Jul 2010 12:24:59 -0400 Received: by eydd26 with SMTP id d26so1511834eyd.0 for ; Tue, 20 Jul 2010 09:24:58 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Samuel Wales Cc: emacs-orgmode@gnu.org --Apple-Mail-1-684613728 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit On Jul 7, 2010, at 9:56 PM, Samuel Wales wrote: > I need an re to match italics the way org does. I did not find it in > the code as it is mixed in with other emphasis. Anybody have an re or > code to highlight italics (and perhaps the others) in non-org buffers? Here it is: > --Apple-Mail-1-684613728 Content-Disposition: attachment; filename=italic-re.el Content-Type: application/octet-stream; x-unix-mode=0644; name="italic-re.el" Content-Transfer-Encoding: 7bit ;; This buffer is for notes you don't want to save, and for Lisp evaluation. ;; If you want to create a file, visit that file with C-x C-f, ;; then enter the text in that file's own buffer. "\\([ ('\"{]\\|^\\)\\(\\(/\\)\\([^ \t\n,\"']\\|[^ \t\n,\"'].*?\\(?:\n.*?\\)\\{0,1\\}[^ \t\n,\"']\\)/\\)\\([- \t.,:!?;'\")}\\]\\|$\\)" --Apple-Mail-1-684613728 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --Apple-Mail-1-684613728--