(pathPattern = '[^\'">]+')
| 71 | * @return {RegExp} |
| 72 | */ |
| 73 | const getCdnUrlRegExp = (pathPattern = '[^\'">]+') => |
| 74 | new RegExp( |
| 75 | `(https://cdn\\.ampproject\\.org)/${pathPattern}(\\.json|\\.m?js|\\.css)`, |
| 76 | 'g' |
| 77 | ); |
| 78 | |
| 79 | /** |
| 80 | * @param {string} html |
no outgoing calls
no test coverage detected