Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question
In regular expressions, using grep, match for all words that start with "the", followed by zero or more non-vowels, and ending in "t" (e.g. "theft" matches but "theit" does not), in file test.txt?
Answer
grep -w 'the[^aeiou]*t' test.txt
^^ note the use of "^" char to match for all chars except vowels

Question
In regular expressions, using grep, match for all words that start with "the", followed by zero or more non-vowels, and ending in "t" (e.g. "theft" matches but "theit" does not), in file test.txt?
Answer
?

Question
In regular expressions, using grep, match for all words that start with "the", followed by zero or more non-vowels, and ending in "t" (e.g. "theft" matches but "theit" does not), in file test.txt?
Answer
grep -w 'the[^aeiou]*t' test.txt
^^ note the use of "^" char to match for all chars except vowels
If you want to change selection, open document below and click on "Move attachment"

5. Regular Expressions
| 's mean one-of-several-words. grep -w 'thr[aeiou]*t' Matches the words threat and throat . As you can see, a list of possible characters can be placed inside the square brackets. grep -w 'thr[<span>^a-f]*t' Matches the words throughput and thrust . The ^ after the first bracket means to match any character except the characters listed. For example, the word thrift is not matched bec

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.