blob: fc00d65dd81900ed650603beedd781d937d688e9 [file] [log] [blame]
/* @flow */
"use strict";
module.exports = function(
source /*: string, optionalblurChar ?: string*/
) /*: string*/ {
const blurChar /*: string*/ =
arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : " ";
return source.replace(/[#@{}]+/g, blurChar);
};