Functiondojo.regexp.group

dojo.require("dojo.regexp");
defined in dojo/regexp.js

adds group match to expression

Usage

function (/*String*/ expression, /*Boolean?*/ nonCapture) (view source)
parametertypedescription
expressionString 
nonCaptureBooleanOptional. If true, uses non-capturing match, otherwise matches are retained by regular expression.