Closed
Bug 82726
Opened 24 years ago
Closed 24 years ago
Regex [m-zM-Z].*@netscape.com matches attinasi@netscape.com
Categories
(Bugzilla :: Bugzilla-General, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: selmer, Assigned: justdave)
Details
Character class regular expressions seem to be broken. The one listed in the
summary seemed to behave like ".*" rather than as a character class.
Comment 1•24 years ago
|
||
That's because it's supposed to... this regexp has basically three parts.
[m-zM-Z] - Matches the first "t" in attinasi
.* - Matches "tinasi"
@netscape.com - Matches "@netscape.com"
I would guess you're trying to only match adresses that start with "m-z"
(regardless of case) in which case you'd want your expression to be:
^[m-zM-Z].*@netscape.com$
| Assignee | ||
Comment 2•24 years ago
|
||
I'm with Jake, I don't see a problem here. Just needs a different regexp :)
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 3•24 years ago
|
||
Doh! (Hand slaps head.)
Thanks for having such a good obvious detector :-)
| Assignee | ||
Comment 5•24 years ago
|
||
moving to Bugzilla product
reassign to default owner/qa for INVALID/WONTFIX/WORKSFORME/DUPLICATE
Assignee: tara → justdave
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: other → unspecified
Updated•13 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•