본문 바로가기
autocad

WCMATCH

by kmlab 2026. 7. 15.

 

 

wcmatch - AutoCAD AutoLISP function - JTB World

* (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.

jtbworld.com

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).

(wcmatch "Name" "???,~*m*,N*")  --> T

반응형