Bug 18750 - '-' not matched by negated character class that doesn't negate '-'
Summary: '-' not matched by negated character class that doesn't negate '-'
Status: CLOSED WORKSFORME
Alias: None
Product: Regexp
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All other
: P3 normal (vote)
Target Milestone: ---
Assignee: Jakarta Notifications Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-07 02:38 UTC by william
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description william 2003-04-07 02:38:57 UTC
The character '-' is not matched being matched by the following negated
character class, which does not (note) exclude it:

[^\s\]'<>(),;:\.[]
Comment 1 Vadim Gritsenko 2003-04-25 13:19:10 UTC
Works with 1.3-Dev:

#999
[^\s\]'<>(),;:\.[]
-
YES
-
Comment 2 Vadim Gritsenko 2003-05-02 01:12:55 UTC
Test #210. Works.