From 64fc715866d1647c7fe157fe49fee4276b7d9f4c Mon Sep 17 00:00:00 2001
From: JJ
Date: Thu, 18 Jul 2024 17:45:46 -0700
Subject: add descriptions to regex stuff on hover
---
frontend/src/components/panels/RulesPane.js | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
(limited to 'frontend/src/components/panels')
diff --git a/frontend/src/components/panels/RulesPane.js b/frontend/src/components/panels/RulesPane.js
index eb424c7..b3d2bdd 100644
--- a/frontend/src/components/panels/RulesPane.js
+++ b/frontend/src/components/panels/RulesPane.js
@@ -174,7 +174,7 @@ class RulesPane extends Component {
valid = false;
}
if (rule.patterns.length < 1) {
- this.setState({ rulePatternsError: "patterns.length < 1" });
+ this.setState({ rulePatternsError: "no patterns added" });
valid = false;
}
@@ -433,14 +433,14 @@ class RulesPane extends Component {
@@ -455,9 +455,9 @@ class RulesPane extends Component {
regex
- !Aa
- .*
- \n+
- UTF8
- Uni_
- min
- max
- direction
+ !Aa
+ .*
+ \n+
+ UTF8
+ Uni_
+ min
+ max
+ direction
{!isUpdate && actions }