February 2019
Intermediate to advanced
626 pages
15h 51m
English
The next step is to introduce the period, or dot (.). The dot matches any single character, except the end-of-line characters. The following statement will return True:
'abcdef' -match '......'
As the previous expression matches any six characters anywhere in a string, it will also return True when a longer string is provided. There are no implied boundaries on the length of a string, only on the number of characters matched:
'abcdefghijkl' -match '......'
Read now
Unlock full access