From 1bfaedfec4b70f17d89671260e60a343f371a9c7 Mon Sep 17 00:00:00 2001 From: Marin Todorov Date: Tue, 15 Dec 2015 12:12:27 +0100 Subject: [PATCH] Reflect infinite sequences in the regex example The text gives an example of an infinite sequence here "Some sequences are finite, and some are infinite, like sequence of button taps" and just few lines below tries to explain sequences with a regex (which is great). However the regex was always having a terminating element (error or completion) and that contradicts the idea of an infinite sequence (which never terminates). What I did was to add a "?" to the terminating element in the regex example --- Documentation/GettingStarted.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/GettingStarted.md b/Documentation/GettingStarted.md index a81a8722..107016ab 100644 --- a/Documentation/GettingStarted.md +++ b/Documentation/GettingStarted.md @@ -65,7 +65,7 @@ These diagrams are called marble diagrams. If we were to specify sequence grammar as regular expression it would look something like this -**Next* (Error | Completed)** +**Next* (Error | Completed)?** This describes the following: