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] Mon Jul 24 06:18:14 -0700 
2006 -------
There are several misconceptions about named character classes in regular
expressions. A named character class [:name:] may appear in a bracket
expression, so [[:digit:]] is a synonym for [0-9] (using ASCII digits).
[:digit:] on itself without the surrounding brackets is not a valid expression,
in no context.

I took this issue because a single [[:digit:]] does not match one digit, as it
should, same with [[:alnum:]] and other character classes. Only if used as
[[:digit:]]? or [[:digit:]]* a digit is matched.

The use of constructs like [:digit:]? or ([:digit:]) is undefined. In fact a
better implementation would not match anything there.

For the definition of POSIX regexps see also
http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap09.html


---------------------------------------------------------------------
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