diff --git a/yara-x-parser/src/warnings.rs b/yara-x-parser/src/warnings.rs index 9438ced0a..862db3940 100644 --- a/yara-x-parser/src/warnings.rs +++ b/yara-x-parser/src/warnings.rs @@ -65,7 +65,7 @@ pub enum Warning { }, #[warning("redundant case-insensitive modifier")] - #[label("the `i` postfix indicates that the pattern is case-insensitive", i_span)] + #[label("the `i` suffix indicates that the pattern is case-insensitive", i_span)] #[label("the `nocase` modifier does the same", nocase_span)] RedundantCaseModifier { detailed_report: String, diff --git a/yara-x/src/compiler/tests/warnings.rs b/yara-x/src/compiler/tests/warnings.rs index a6f7e2763..6f62ea377 100644 --- a/yara-x/src/compiler/tests/warnings.rs +++ b/yara-x/src/compiler/tests/warnings.rs @@ -148,7 +148,7 @@ rule test { │ 4 │ $a = /foo/i nocase │ ┬ ───┬── - │ ╰───────── the `i` postfix indicates that the pattern is case-insensitive + │ ╰───────── the `i` suffix indicates that the pattern is case-insensitive │ │ │ ╰──── the `nocase` modifier does the same ───╯