File mask

Top 

 

File masks are used to choose several source files for a transformation by the command line program tetra_cl. Similar to regular expressions masks determine a pattern of text, which will be compared with the names of the files. Masks are using the Meta characters '?' and '*'.

 

The meaning of the question mark '?' inside of a file mask may not be confused with the meaning in regular expressions.

 

A question mark '?' is a dummy for a single character, that must appear in the file name at the corresponding position. 

A star '*' represents an arbitrary sequence of characters.

 

Examples:

 

*.pas        matches all files with the extender "pas"

*.ht?        matches for example "index.htm" or "index.html"

tt*.*        matches for example "tt_error.h", "tt_error.cpp" or "tt.txt"



This page belongs to the TextTransformer Documentation

Home  Content  German