Lines Matching refs:capture
31 str = str.replace(/(\w)?X/g, function(match, capture) { argument
32 assertTrue(match.indexOf(capture) >= 0 ||
33 capture === undefined);
34 return capture ? capture.toLowerCase() : "-";
40 str = str.replace(/\b/g, function(match, capture) { argument
47 str = str.replace(/(?=(\w+))\b/g, function(match, capture) { argument
48 return capture.length;
83 function(match, capture) { argument
84 assertTrue(match.indexOf(capture) >= 0 ||
85 capture === undefined);
86 return capture ? capture.toLowerCase() : "-";
92 str = str.replace(/\b/g, function(match, capture) { argument
99 str = str.replace(/(?=(\w+))\b/g, function(match, capture) { argument
100 return capture.length;
137 str = str.replace(/\b(?=u(p))/g, function(match, capture) { argument
138 return capture.length;