March 2001
Intermediate to advanced
400 pages
8h 35m
English
Regular expressions appear frequently in support of user interfaces. For example, a user might want to see all the files that end with ".txt" or all the books whose titles include "Java" and "Parsers". When you allow a user to specify such a pattern, you are using regular expressions to let the user create a new little language. You might decide, for example, to allow your user to use a tilde to mean zero or more characters. If your user types "~.txt", he or she is defining the language of all strings that end with ".txt".
The tools you provide your user for matching are a metalanguage, a language for defining new languages. Typically, developers provide users with symbols such as “~” and “|” to indicate which ...
Read now
Unlock full access