UNPKG

vigour-doc

Version:

A collection of tools to help make great docs with minimal effort

6 lines (4 loc) 126 B
'use strict' module.exports = exports = function escapeRE (str) { return str.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&') }