emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/relint 5d3f78d 19/21: Update xr messages ("repetition"


From: Mattias Engdegård
Subject: [elpa] externals/relint 5d3f78d 19/21: Update xr messages ("repetition" changed to "option")
Date: Sun, 3 May 2020 11:13:39 -0400 (EDT)

branch: externals/relint
commit 5d3f78da32b03b8926076c10426366e07fd0f318
Author: Mattias Engdegård <address@hidden>
Commit: Mattias Engdegård <address@hidden>

    Update xr messages ("repetition" changed to "option")
---
 README | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/README b/README
index 34a7b5b..7d25c5e 100644
--- a/README
+++ b/README
@@ -71,11 +71,17 @@ skip-syntax-backward.
     in order to include a literal backslash.
   
   - Repetition of repetition
+  - Repetition of option
+  - Optional repetition
+  - Optional option
   
     A repetition construct is applied to an expression that is already
-    repeated, such as a*+ (? counts as repetition here). Such
-    expressions can be written with a single repetition and often
-    indicate a different mistake, such as missing backslashes.
+    repeated, such as a*+ or \(x?\)?. These expressions can be written
+    with a single repetition and often indicate a different mistake,
+    perhaps a missing backslash.
+
+    When a repetition construct is ? or ??, it is termed 'option'
+    instead; the principle is the same.
 
   - Reversed range 'Y-X' matches nothing
 
@@ -186,12 +192,14 @@ skip-syntax-backward.
     intended as part of a range.
 
   - Repetition of zero-width assertion
+  - Optional zero-width assertion
 
     A repetition operator was applied to a zero-width assertion, like
     ^ or \<, which is completely pointless. The error may be a missing
     escaping backslash.
 
   - Repetition of expression matching an empty string
+  - Optional expression matching an empty string
 
     A repetition operator was applied to a sub-expression that could
     match the empty string; this is not necessarily wrong, but such



reply via email to

[Prev in Thread] Current Thread [Next in Thread]