Updated to Drupal 8.6.4, which is PHP 7.3 friendly. Also updated HTMLaw library....
[yaffs-website] / node_modules / underscore.string / helper / escapeRegExp.js
1 var makeString = require('./makeString');
2
3 module.exports = function escapeRegExp(str) {
4   return makeString(str).replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1');
5 };