Bug Tracker

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#10567 closed bug (fixed)

Delegated events incorrectly match class names

Reported by: dmethvin Owned by: dmethvin
Priority: blocker Milestone: 1.7
Component: event Version: 1.7b2
Keywords: Cc:
Blocked by: Blocking:

Description

The quickIs code regexp for classes will match "dog" in "dog-food" when it shouldn't.

Change History (3)

comment:1 Changed 6 years ago by dmethvin

Component: unfiledevent
Milestone: None1.7
Owner: set to dmethvin
Priority: undecidedblocker
Status: newassigned

comment:2 Changed 6 years ago by SlexAxton

@timmywil think he tracked this down:

"yup, it's the regex in quickIs class matcher was: (?.([\w\-]+)) should be: (?.([\w\-]+)$)"

will see if I can get him to patch or do it myself.

Version 0, edited 6 years ago by SlexAxton (next)

comment:3 Changed 6 years ago by Dave Methvin

Resolution: fixed
Status: assignedclosed

Fix #10567. Make sure quickIs matches correct class name.

Changeset: ee3eb6cabf1383efe479e090fe6ad8ed2e5a09a3

Note: See TracTickets for help on using tickets.