We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46ed205 commit 51e5aa9Copy full SHA for 51e5aa9
util/jsonpath-util.js
@@ -61,6 +61,13 @@ module.exports = {
61
return text ? text.split('{').join('\\{') : text
62
},
63
64
+ escapeAutoLinks: (text) => {
65
+ return text ? text
66
+ .replaceAll(/ (http|https|ftp|irc|mailto|file):\/\//g, ' \\$1://')
67
+ .replaceAll(/ (\b[\w\.\/\-\+]+@[\w\.\/\-]+\b)/g, ' \\$1')
68
+ : text
69
+ },
70
+
71
extractSBName: (resourceid) => {
72
const m =resourceid.match(RESOURCEID_RX)
73
return m ? m[1] : 'no match'
0 commit comments