We're updating the issue view to help you get more done. 

Global flag on token regexp breaks enyo.Router on Android native browser

Description

The token used by enyo.Router to distinguish dynamic routes from static routes is unreliable.

As pointed out by Ryan Duffy this is likely caused by the global option. When fusing the global flag, the RegExp object remembers the last index: http://forums.enyojs.com/discussion/comment/9409#Comment_9409

Environment

Android (tested on 4.4, but might affect other versions too), using Android native browser.

Status

Assignee

Screener (Enyo Team)

Reporter

Ruben Vreeken

Labels

None

External issue ID

None

Tango Test Run Elements

None

Old Issue Key

None

Components

Affects versions

2.5.0

Priority

None