From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: LaTeX export filter Date: Sat, 24 Mar 2018 18:05:05 +0000 Message-ID: <87a7uxz6we.fsf@gmail.com> References: <218D99DB-E8AE-4968-98E8-7E35BE022E7E@agrarianresearch.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ezpag-0005Vr-QK for emacs-orgmode@gnu.org; Sat, 24 Mar 2018 16:17:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ezpZR-0001PM-8q for emacs-orgmode@gnu.org; Sat, 24 Mar 2018 16:16:27 -0400 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:39453) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eznXR-00082X-2O for emacs-orgmode@gnu.org; Sat, 24 Mar 2018 14:05:09 -0400 Received: by mail-wm0-x22b.google.com with SMTP id f125so8656899wme.4 for ; Sat, 24 Mar 2018 11:05:08 -0700 (PDT) In-Reply-To: <218D99DB-E8AE-4968-98E8-7E35BE022E7E@agrarianresearch.org> (Vikas Rawal's message of "Sat, 24 Mar 2018 22:24:59 +0530") 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" To: Vikas Rawal Cc: org-mode mailing list --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Saturday, 24 Mar 2018 at 22:24, Vikas Rawal wrote: > I am trying to write a LaTeX export filter that should replace all > table rows with cells having entries such as <3cid4> by > \cmidrule{lr}{3-4} [...] > (while (string-match > "\\(<\\([0-9]+\\)cid\\([0-9]+\\)?>[[:blank:]]*\\([^&]+\\)\\)" r= ow) Could it be that you need to change the last + to *? Haven't tried it, mind you. =2D-=20 Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-341-g3a4fd3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWraTUQAKCRDIkZPY//z2 fQzeAJ9FSttCV1LNq1i5gf7Kj0QzD9VZQACeMWuQpASw+e4DnlF+K/Vj7d/e/4c= =5WUl -----END PGP SIGNATURE----- --=-=-=--