To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=64368





------- Additional comments from [EMAIL PROTECTED] Sun Jul 23 19:57:05 -0700 
2006 -------
Sorry, I'm really not sure where to put this, but as this issue seems to be
active and closely related to what I want to report, I'm going to put it here.
If it should be filed separately, let me know.

First, I want to confirm that a regexp search for [:digit:] does not work--it
never matches anything--in Writer as well (2.0.2 on FC5 & XP, 2.0.3 on FC5). I
assume Calc and Writer share the same RE library, so this doesn't need to be
reported separately.

Second, there is a useful workaround: a regexp search for ([:digit:]) works "as
expected" (again, tested with Calc and Writer):

  e([:digit:])?    -- finds 'e' followed by zero or one digit
  ^([:digit:])$    -- finds lines or cells with exactly one digit

All(?) of the named classes seem to work this way (I've actually only tested
[:space:] and [:digit:]).

Third, there seems to be some confusion (possibly on my part) as to the use of
the POSIX named character classes: as far as I can determine, the named classes
are only special _within a regular character class_, and a bare '[:digit:]'
doesn't match a digit at all, but any of the characters 'd', 'i', 'g', 't' or
':'. In order to search for a digit, you have to write [[:digit:]]. This form
_never_ matches anything in OOo, even with the extra ()s.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to