From 095dcac90b505790d5a11426cb415c02053fe746 Mon Sep 17 00:00:00 2001 From: Qstick Date: Tue, 29 Nov 2022 19:47:08 -0600 Subject: [PATCH] Make CF insensitive help text more obvious --- .../Specifications/EditSpecificationModalContent.js | 2 +- .../CustomFormats/Specifications/RegexSpecificationBase.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/Settings/CustomFormats/CustomFormats/Specifications/EditSpecificationModalContent.js b/frontend/src/Settings/CustomFormats/CustomFormats/Specifications/EditSpecificationModalContent.js index 534153809..2364f5746 100644 --- a/frontend/src/Settings/CustomFormats/CustomFormats/Specifications/EditSpecificationModalContent.js +++ b/frontend/src/Settings/CustomFormats/CustomFormats/Specifications/EditSpecificationModalContent.js @@ -51,7 +51,7 @@ function EditSpecificationModalContent(props) { fields && fields.some((x) => x.label === 'Regular Expression') &&
-
\\^$.|?*+()[{ have special meanings and need escaping with a \\' }} /> +
\\^$.|?*+()[{ have special meanings and need escaping with a \\' }} /> {'More details'} {'Here'}
diff --git a/src/NzbDrone.Core/CustomFormats/Specifications/RegexSpecificationBase.cs b/src/NzbDrone.Core/CustomFormats/Specifications/RegexSpecificationBase.cs index ead5481eb..e548d858f 100644 --- a/src/NzbDrone.Core/CustomFormats/Specifications/RegexSpecificationBase.cs +++ b/src/NzbDrone.Core/CustomFormats/Specifications/RegexSpecificationBase.cs @@ -21,7 +21,7 @@ namespace NzbDrone.Core.CustomFormats protected Regex _regex; protected string _raw; - [FieldDefinition(1, Label = "Regular Expression")] + [FieldDefinition(1, Label = "Regular Expression", HelpText = "Custom Format RegEx is Case Insensitive")] public string Value { get => _raw;