aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/libgnat/s-regexp.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/libgnat/s-regexp.ads')
-rw-r--r--gcc/ada/libgnat/s-regexp.ads8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/ada/libgnat/s-regexp.ads b/gcc/ada/libgnat/s-regexp.ads
index 4d9fb5b..243da67 100644
--- a/gcc/ada/libgnat/s-regexp.ads
+++ b/gcc/ada/libgnat/s-regexp.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 1998-2019, AdaCore --
+-- Copyright (C) 1998-2020, AdaCore --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -83,8 +83,10 @@ package System.Regexp is
-- regexp ::= term
-- term ::= elmt
- -- term ::= elmt elmt ... -- concatenation (elmt then elmt)
- -- term ::= {elmt, elmt, ...} -- alternation (matches any of elmt)
+ -- term ::= seq
+ -- term ::= {seq, seq, ...} -- alternation (matches any of seq)
+
+ -- seq ::= elmt elmt ... -- concatenation (sequence of elmts)
-- elmt ::= * -- any string of 0 or more characters
-- elmt ::= ? -- matches any character