본문 바로가기
autocad

(wcmatch string pattern)

by kmlab 2024. 5. 20.

http://docs.autodesk.com/ACD/2011/ENU/filesALR/WS1a9193826455f5ff1a32d8d10ebc6b7ccc-6754.htm

 

wcmatch

Matches any character sequence, including an empty one, and it can be used anywhere in the search pattern: at the beginning, middle, or end.

docs.autodesk.com

Command: (wcmatch "Name" "N*")
T

Wild-card characters

Character Definition
# (pound) Matches any single numeric digit.
@ (at) Matches any single alphabetic character.
. (period) Matches any single nonalphanumeric character.
* (asterisk) Matches any character sequence, including an empty one, and it can be used anywhere in the search pattern: at the beginning, middle, or end.
? (question mark) Matches any single character.
~ (tilde) If it is the first character in the pattern, it matches anything except the pattern.
[...] Matches any one of the characters enclosed.
[~...] Matches any single character not enclosed.
- (hyphen) Used inside brackets to specify a range for a single character.
, (comma) Separates two patterns.
` (reverse quote) Escapes special characters (reads next character literally).

 

 

 

반응형

'autocad' 카테고리의 다른 글

Sheet_A1... 블록 선택하기  (0) 2024.06.12
Fix Relocate Sheet A1 (c:RS)  (0) 2024.05.23
KMPLOT_A4 20240521  (0) 2024.05.17
LISP 스크립트 실행 시 에코 끄기  (0) 2024.05.09
AutoCAD 빠르게 빠르게 (펌)  (0) 2024.05.07