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;
|
||||
}
|
||||
|
||||
// Validate regex pattern
|
||||
try {
|
||||
new RegExp(patternValue);
|
||||
} catch (e) {
|
||||
Alert.error('Invalid regular expression: ' + e.message);
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
const data = {
|
||||
name,
|
||||
|
||||
Reference in New Issue
Block a user