From d3d9c0b84ef0efdb7217c9473dd329d8bac35866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=B3r=20Mil=C3=A1n?= <71042542+bormilan@users.noreply.github.com> Date: Mon, 9 Dec 2024 15:50:35 +0100 Subject: [PATCH] Update doc_rules/elvis_style/atom_naming_convention.md Co-authored-by: Paulo F. Oliveira --- doc_rules/elvis_style/atom_naming_convention.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc_rules/elvis_style/atom_naming_convention.md b/doc_rules/elvis_style/atom_naming_convention.md index 35b6ae4..e4bbee4 100644 --- a/doc_rules/elvis_style/atom_naming_convention.md +++ b/doc_rules/elvis_style/atom_naming_convention.md @@ -2,8 +2,8 @@ (since [1.0.0](https://github.com/inaka/elvis_core/releases/tag/1.0.0)) -All atoms should be named according to the regular expression provided. -Except if it matches with a defined `forbidden_regex`. +All atoms should be named according to the provided regular expression, +except if they match with a defined `forbidden_regex`. Atoms enclosed in apostrophes have special meaning and are thus handled by a different configuration option (use `same` if you want the same value as `regex`). To define forbidden enclosed atoms (like the ones in `forbidden_regex` apply for `regex`),