| PATTERN-MATCHING SYNTAX | ||||
|---|---|---|---|---|
| Symbol | Matches | Example | ||
| Pattern | Result | |||
| A,C,D,... | MAKSY |
Matches any sequence that contains MAKSY motif. | ||
| . | MAK..SY |
Matches any sequence that contains MAK and SY motifs separated by exactly two residue. | ||
| [DEKR] | from the list |
MAK[AG]SY |
Matches any sequence that contains MAK and SY motifs separated by either alanine or glycine. | |
| [^DEKR] | not in the list |
MAK[^AG]SY |
Matches any sequence that contains MAK and SY motifs separated by any residue other than alanine or glycine. | |
| x? | where x is any of the above |
MAK.?SY |
Matches any sequence that contains MAK and SY motifs separated by 0 or 1 residue. | |
| x* | MAK.*SY |
Matches any sequence that contains MAK and SY motifs separated by 0 or more residues. | ||
| x+ | MAK.+SY |
Matches any sequence that contains MAK and SY motifs separated by at least one residue. | ||
| x{m,n} | but no more than n x's |
MAKA{3,5}SY |
Matches any sequence that contains MAK and SY motifs separated by at least 3, but no more than 5 alanines. | |
| ^ | the begining of the sequence |
^MAKSY |
Matches any sequence starting with MAKSY | |
| $ | the end of the sequence |
ASCKA$ |
Matches any sequence ending with ASCKA | |
| NOTE: check any PERL manual for the
full description of the pattern-matching (also known as regular expression) syntax. | ||||