incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J├╝rgen Schmidt <jogischm...@googlemail.com>
Subject Re: i18nregexp replaced with ICU regexp => heads up
Date Wed, 04 Jan 2012 16:39:53 GMT
On 1/4/12 4:26 PM, Herbert Duerr wrote:
>> Thanks! I think we will need to make more clear to the users this change:
>> many old documents with macros that rely on the old syntax will not
>> work on
>> AOO 3.4.
>
> Yes, it should be pointed out that there are quite a number of different
> regexp flavors and that people should try to stay on the common ground.
>
> For the specific example of the RE-extension "\<" the more common syntax
> for it is "\b" and that is also understood by almost all regex engines
> including the ones used in old and new OOo.

we should check the help files for this and should may include a link to 
http://www.regular-expressions.info/reference.html. But that requires 
translation :-(

We should keep this in mind for the release notes and should update the 
docu, help as soon as possible

Juergen

>
>> Also, I think I found a problem. Suppose you have a text like "He heard
>> quiet quiet steps". By using a regexp like
>> (\w+) \1\b
>> (notice the space before the \1) you'll find the repeated word without
>> problems, but if you use $1 on "Replace with" instead of obtaining "He
>> heard quiet steps" you get "He heard steps", with two spaces between
>> "heard" and "steps": the reference is not inserted!
>
> https://issues.apache.org/ooo/show_bug.cgi?id=118723
> I'll look into it.
>
> Herbert


Mime
View raw message