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)

x86
Other
defect
Not set
normal

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.
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$
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
Doh! (Hand slaps head.) Thanks for having such a good obvious detector :-)
V.
Status: RESOLVED → VERIFIED
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
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.