mirror of
https://github.com/Dictionarry-Hub/profilarr.git
synced 2026-01-22 10:51:02 +01:00
fix: remove frontend regex validation
- handled completely in the backend now
This commit is contained in:
@@ -65,14 +65,6 @@ export const useRegexModal = (initialPattern, onSave) => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Validate regex pattern
|
|
||||||
try {
|
|
||||||
new RegExp(patternValue);
|
|
||||||
} catch (e) {
|
|
||||||
Alert.error('Invalid regular expression: ' + e.message);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const data = {
|
const data = {
|
||||||
name,
|
name,
|
||||||
|
|||||||
Reference in New Issue
Block a user