Open Bug 415467 Opened 12 years ago Updated 4 years ago

Stalk Whole Words matches nicknames starting "nick[foo]" and similar

Categories

(Other Applications :: ChatZilla, defect, minor)

defect
Not set
minor

Tracking

(Not tracked)

People

(Reporter: bugzilla-mozilla-20000923, Assigned: rginda)

References

Details

The stalkExpression generated is:
  /(^|[\W\s])((nick))([\W\s]|$)/i

It is compared to (I think) "nick[foo] ME!" and matches. (It doesn't work at the end because of the ME! added.)

Ideally, when matching whole words, I think it should only ever match the entire nickname. Probably needs a stalkNickExpression which is used just for the nickname, and keep stalkExpression for the content.
See Also: → 526981
You need to log in before you can comment on or make changes to this bug.