From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Regression: org-translate-link doesn't work correctly in Org 8.3 Date: Wed, 19 Aug 2015 12:25:15 +0200 Message-ID: <87bne3mv78.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZS0Yb-0006MP-MU for emacs-orgmode@gnu.org; Wed, 19 Aug 2015 06:25:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZS0YX-0004vm-Jx for emacs-orgmode@gnu.org; Wed, 19 Aug 2015 06:25:21 -0400 Received: from so1.mailgun.net ([198.61.254.11]:56596) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZS0YX-0004vT-Fv for emacs-orgmode@gnu.org; Wed, 19 Aug 2015 06:25:17 -0400 In-Reply-To: (Sergei Nosov's message of "Wed, 19 Aug 2015 12:58:52 +0300") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sergei Nosov Cc: emacs-orgmode@gnu.org Hi Sergei, wild guess: what if you simply make the ":" optional like this: (string-match "\\([a-zA-Z0-9]+\\):\\(.*\\)" s) (string-match "\\([a-zA-Z0-9]+\\):?\\(.*\\)" s) ^^^ ? -- Bastien