fix: remove frontend regex validation

- handled completely in the backend now
This commit is contained in:
Sam Chau
2025-02-07 06:08:43 +10:30
parent 8d5611b229
commit f00cb3ea61

View File

@@ -65,14 +65,6 @@ export const useRegexModal = (initialPattern, onSave) => {
return;
}
// Validate regex pattern
try {
new RegExp(patternValue);
} catch (e) {
Alert.error('Invalid regular expression: ' + e.message);
return;
}
try {
const data = {
name,