incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Herbert Duerr <>
Subject Re: i18nregexp replaced with ICU regexp => heads up
Date Wed, 04 Jan 2012 15:26:04 GMT
> 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.

> 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!
I'll look into it.


View raw message