The basics of regular expression syntax and a few examples.
What is the syntax for a choice between and ?
What is the syntax for a character?
(where c is any character)
What is the syntax for a concatenation of and ?
What is the syntax for the Kleene star of ?
What is the Kleene star operation?
It represents zero or more occurrences of the preceding element.
How is the empty string represented?
By the symbol
What does the regular expression match?
Either the character 'a' or the character 'b'
What does the regular expression match?
The string ab
What does the regular expression match?
Any string of zero or more 'a' characters (including the empty string)
What does the regular expression match?
Any string composed of 'a' and 'b' characters in any order, including the empty string
Import this source into your Adalyn library to start learning with spaced repetition.