@capillarytech/creatives-library 7.17.69-alpha.1 → 7.17.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/utils/tagValidations.js
CHANGED
|
@@ -105,7 +105,7 @@ const indexOfEnd = (targetString, string) => {
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
const skipTags = (tag) => {
|
|
108
|
-
const regexGroups = ["dynamic_expiry_date_after_\\d+_days.FORMAT_\\d", "unsubscribe\\(#[a-zA-Z\\d]{6}\\)","Link_to_[a-zA-z]","SURVEY.*.TOKEN","^[A-Za-z].*\\([\\d]*\\)"];
|
|
108
|
+
const regexGroups = ["dynamic_expiry_date_after_\\d+_days.FORMAT_\\d", "unsubscribe\\(#[a-zA-Z\\d]{6}\\)","Link_to_[a-zA-z]","SURVEY.*.TOKEN", "^[A-Za-z].*\\([a-zA-Z\\d]*\\)"];
|
|
109
109
|
let skipped = false;
|
|
110
110
|
lodashForEach(regexGroups, (group) => {
|
|
111
111
|
const groupRegex = new RegExp(group, "g");
|
|
@@ -1093,7 +1093,7 @@ class FormBuilder extends React.Component { // eslint-disable-line react/prefer-
|
|
|
1093
1093
|
}
|
|
1094
1094
|
|
|
1095
1095
|
skipTags(tag) {
|
|
1096
|
-
const regexGroups = ["dynamic_expiry_date_after_\\d+_days.FORMAT_\\d", "unsubscribe\\(#[a-zA-Z\\d]{6}\\)","Link_to_[a-zA-z]","SURVEY.*.TOKEN","^[A-Za-z].*\\([\\d]*\\)"];
|
|
1096
|
+
const regexGroups = ["dynamic_expiry_date_after_\\d+_days.FORMAT_\\d", "unsubscribe\\(#[a-zA-Z\\d]{6}\\)","Link_to_[a-zA-z]","SURVEY.*.TOKEN", "^[A-Za-z].*\\([a-zA-Z\\d]*\\)"];
|
|
1097
1097
|
|
|
1098
1098
|
//const regexGroups = [];
|
|
1099
1099
|
let skipped = false;
|