UNPKG

@empathyco/x-components

Version:
17 lines (15 loc) 556 B
/** * Default implementation for the {@link IdentifierResultsGetters.identifierDetectionRegexp} getter. * * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the identifier * results module. * @returns The RegExp to detect and identifier. * * @public */ // eslint-disable-next-line max-len const identifierDetectionRegexp = ({ config }) => { return new RegExp(config.identifierDetectionRegexp); }; export { identifierDetectionRegexp }; //# sourceMappingURL=identifier-detection-regexp.getter.js.map