Skip to main content

Bug Tracker

Side navigation

#3034 closed enhancement (fixed)

Opened June 13, 2008 06:38AM UTC

Closed June 13, 2008 06:50PM UTC

quickExpr does not catch ids with a dash

Reported by: arrix Owned by: flesler
Priority: minor Milestone: 1.3
Component: core Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:
var quickExpr = /^[^<]*(<(.|\\s)+>)[^>]*$|^#(\\w+)$/

Selectors like "#nav-home" or "#text-comment" do not match quickExpr and can't benefit from the speedup. Dash can be great for namespacing while naming ids.

\\w -> [-\\w]

Attachments (0)
Change History (2)

Changed June 13, 2008 06:36PM UTC by flesler comment:1

owner: → flesler
status: newassigned

Right, will fix.

Changed June 13, 2008 06:50PM UTC by flesler comment:2

resolution: → fixed
status: assignedclosed

Done at [5726].