For ex:
*.jpg matches any text which end with
.jpg. You can also specify brackets with characters, as in: *.[ch]pp |
.cpp or .hpp. Altogether very similar to regular expressions. The
* means match zero or more of anything in wildcards. As we learned, we do this is regular expression with the punctuation mark and the * quantifier. This gives: .* |
The
? means match any character but do match something. This is exactly what the punctuation mark does.
No comments:
Post a Comment