MCPcopy Create free account
hub / github.com/microsoft/Webwright / extractFirstPath

Function extractFirstPath

assets/compare_trajectory/app.js:731–734  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

729}
730
731function extractFirstPath(text) {
732 const match = String(text || '').match(/\/(?:[^\s`*]|\\ )+/);
733 return match ? match[0].replace(/\\ /g, ' ') : '';
734}
735
736function parseMarkdownSections(text) {
737 const lines = String(text || '').split(/\r?\n/);

Callers 1

parseSessionToolSectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected