Update route.js

Use regexp.xexec if present