Zum Inhalt springen

F5 - Wildcards

Aus LHlab Wiki
Version vom 29. Mai 2013, 09:32 Uhr von Manuel (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „F5 setzt bei dem Thema Wildcards auf eine eigene Definition: {| class="wikitable" |- ! Wildcard Pattern!! Description |- | *|| Matches all characters |- | ?||…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

F5 setzt bei dem Thema Wildcards auf eine eigene Definition:

Wildcard Pattern Description
* Matches all characters
? Matches any single character
[seq] Matches any character in the sequence
[!seq] Matches any character not specified in the sequence


Zusätzliche Infos:
Wildcard pattern matching is case sensitive.
For example, [abc] and [ABC] are distinct patterns.

The wildcard character ( * ) matches any sequence of characters.
For example, the *.asp pattern matches any object that contains the .asp extension.

The wildcard character ( * ) may appear anywhere in the string.
For example, filename.* and *.extension are both valid.

The pipe character ( | ) can be used to represent or.
For example, [(A|a)] represents either A or a.

Patterns such as [a-z] defines one character in the range.
For example, the [a-z] pattern does not match the string abc, but rather any one character between characters a and b.