Closed
Bug 82726
Opened 23 years ago
Closed 23 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•23 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•23 years ago
|
||
I'm with Jake, I don't see a problem here. Just needs a different regexp :)
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 3•23 years ago
|
||
Doh! (Hand slaps head.) Thanks for having such a good obvious detector :-)
Assignee | ||
Comment 5•23 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•12 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
•