gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] PythonUNO in libreoffice


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] PythonUNO in libreoffice
Date: Wed, 20 Jun 2012 20:58:58 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, Jun 16, 2012 at 09:52:16AM +0200, Hilbert, Sebastian wrote:

> On Friday, June 15, 2012 11:33:20 PM Karsten Hilbert wrote:
> > On Fri, Jun 15, 2012 at 10:45:39PM +0200, Hilbert, Sebastian wrote:
> > > I do not fully understand the technical problem.
> > 
> > I am not sure how to better explain it short of explaining
> > regular expressions. The thing is that LO simply does not
> > support a feature we need.
> > 
> > > Please look here if this is of any help:
> > > http://user.services.openoffice.org/en/forum/viewtopic.php?f=20&t=23030
> > 
> > This post describes exactly the feature we are lacking.
> > 
> 
> http://homepage.ntlworld.com/garryknight/linux/ooregexp.html

Well, I have rewritten the regular expression which is used
to tell LO/OOo to look for inline placeholders from the
declaratively non-greedy

        r'\$<.+?>\$'

to the descriptively non-greedy (and slightly gary)

        r'\$<(?:(?!\$<).)+>\$'

(which works the same for LaTeX/Python & friends).

However, according to this page:

        http://help.libreoffice.org/Common/List_of_Regular_Expressions

LO ain't supporting that ("that" meaning lookahead
assertions) either :-(

Too bad, no more-than-one-per-line inline placeholders
for LibreOffice document templates still ...

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]