Skip to main content
summaryrefslogtreecommitdiffstats
blob: 1656f97e03bbca92cd84a6acf319d6bfa1d34231 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
% $Id: SimpleMatch.tex 7708 2009-01-20 15:50:45Z alexandra $
% Local Variables:
% ispell-check-comments: nil
% Local IspellDict: american
% End:
% --------------------------------------------------------
% User documentation
% copyright by BREDEX GmbH 2005
% --------------------------------------------------------
\index{Simple Match}


\begin{itemize}
\item Using \bxname{simple match} lets you verify or select text even if you do not know exactly what the text is.
\item Actions which support regular expressions have an additional parameter, \bxcaption{Operator}. From this combo box, you can choose \bxcaption{simple match} to indicate that you want to use simple matching.
\end{itemize}
\bxtipp{\bxname{Simple match} is a good option if you are sure that you will only want to use the basic wildcards given below. For more powerful regular expressions, use the \bxname{matches} parameter \bxpref{regex}.}

\textbf{Simple matching}
\begin{itemize}
\item \bxshell{abc} matches \bxcaption{abc} and nothing else.
\end{itemize}

\textbf{Wildcards}
\begin{itemize}
\item \bxshell{?} represents one instance of any character.
\item \bxshell{*} represents any number (zero or more) of any characters.  
\end{itemize}

\textbf{Useful examples}
\begin{itemize}
\item A string that starts with \bxshell{a} is represented by: \bxshell{a*}
\item A string that ends in \bxshell{a} is represented by: \bxshell{*a}
\item A string that starts with \bxshell{a}, ends in \bxshell{b} and has unknown values (0 or more) in the middle is represented by: \bxshell{a*b}
\item A string which contains \bxshell{a} somewhere between other unknown characters (0 or more) is represented by: \bxshell{*a*}
%\item To check for a text which begins with a star (\bxshell{*}), you must use the escape character: \verb+\\**+
\end{itemize}
 

Back to the top