@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
11 lines • 402 B
JavaScript
// SPDX-License-Identifier: Apache-2.0
import { UnsupportedOperationError } from '../errors/unsupported-operation-error.js';
export class Regex {
constructor() {
throw new UnsupportedOperationError('This class cannot be instantiated');
}
static escape(string_) {
return string_.replaceAll(/[-/\\^$*+?.()|[\]{}]/g, String.raw `\$&`);
}
}
//# sourceMappingURL=regex.js.map