MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / match

Function match

packages/core/css/lib/parse/index.ts:130–137  ·  view source on GitHub ↗

* Match `re` and return captures.

(re)

Source from the content-addressed store, hash-verified

128 */
129
130 function match(re) {
131 var m = re.exec(css);
132 if (!m) return;
133 var str = m[0];
134 updatePosition(str);
135 css = css.slice(str.length);
136 return m;
137 }
138
139 /**
140 * Parse whitespace.

Callers 15

openFunction · 0.70
closeFunction · 0.70
whitespaceFunction · 0.70
selectorFunction · 0.70
declarationFunction · 0.70
keyframeFunction · 0.70
atkeyframesFunction · 0.70
atsupportsFunction · 0.70
athostFunction · 0.70
atmediaFunction · 0.70
atcustommediaFunction · 0.70
atpageFunction · 0.70

Calls 2

updatePositionFunction · 0.85
sliceMethod · 0.45

Tested by

no test coverage detected