May 10, 2019

What is Wildcard



와일드카드(Wildcard)

It is a word derived from a card game. It has the meaning of "substitutable card" and "universal card".

카드게임에서 유래된 단어로, "대용 가능한 카드", "만능패" 정도의 의미를 지닌다.

Wildcards on computers mean "special characters that can replace arbitrary characters".

컴퓨터에서의 와일드카드는 "임의의 문자를 대신할 수 있는 특수문자"를 의미한다.

Major wildcard
주요 와일드 카드

*: Any random string. 모든 임의 문자열

?: One random character. 하나의 임의 문자

[]: One specified character. 지정된 하나의 문자.

[^]: One character except the ones specified. 지정된 것들을 제외한 하나의 문자.

It is more useful to include the following string class in square brackets.
대괄호에 아래의 문자열 클래스가 포함되면 더욱 유용해진다.

[:alpha:] All uppercase/lowercase alphabets. 모든 대문자/소문자 알파벳.
[:upper:] All uppercase alphabets. 모든 대문자 알파벳.
[:lower:] All lowercase alphabets. 모든 소문자 알파벳.
[:alnum:] All uppercase/lowercase alphabets and all numbers. 모든 대문자/소문자 알파벳과 모든 숫자.
[:digit:] All numbers. 모든 숫자.