PHP 8.2.30
Preview: index.js Size: 350 B
//opt/alt/alt-nodejs18/root/lib/node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex/index.js

export default function ansiRegex({onlyFirst = false} = {}) {
	const pattern = [
	    '[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
		'(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))'
	].join('|');

	return new RegExp(pattern, onlyFirst ? undefined : 'g');
}

Directory Contents

Dirs: 0 × Files: 3

Name Size Perms Modified Actions
350 B lrw-r--r-- 2026-03-09 09:08:38
Edit Download
1.09 KB lrw-r--r-- 2026-03-09 09:08:38
Edit Download
958 B lrw-r--r-- 2026-03-09 09:08:38
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).