Matej Cepl wrote:
Jim Wagner wrote:
Thanks very much. I had never been able to make the [[:space:]] thing
work. Now, having just tried it, I find that what I should be using is
[ ], with nothing but a space between the brackets.
It's the wording of the Regular Expressions list that's misleading for
people with literal minds like mine. What could they do to remedy the
situation, other than give a full explanation as you've just done?
If you need both space and tab character than use this regexp
[ \t]*
this should work (tested now in OOWriter). Or do you need this?
[ \t]{2,}
However, these are just workarounds -- apparently OOo RE implementation
doesn't support any [:.*:] markers (tested with OOo 2.0 here on
Debian/testing). Did you try to search on issuezilla, whether there is an
issue about this (if not, go and file it)? Developers may publish some
workaround for this.
What I needed was to be able to find every instance of the use of the
spacebar. What I had been doing was copying and pasting the (as I
thought) proper bit from the list of regular expressions.
What I didn't know was that, unlike with \t, the word "space" in the
brackets actually stands for one tap on the spacebar.
I was taking one instance and generalizing it to the whole of the list
of regexps, which clearly doesn't work.
Thanks,
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]