[완료]vim에서 정규식 질문입니다.

goguma73의 이미지

빔(gvim7.1)은 애용자입니다.

빔에서 nomagic 옵션을 주고
a\* 로 검색을 하면
"a", "aa", "aaa", etc...
을 검색한다고 되어있는데.
모든 문자가 다 매칭됩니다.
이게 무슨 조화일까요?
다른 검색옵션이 필요한건가요?

답글 부탁드립니다.

File attachments: 
첨부파일 크기
Image icon 2007-10-22_162902.png19.56 KB
Image icon 2007-10-22_162925.png20.33 KB
ymir의 이미지

* 는 zero or more 입니다.. "" 도 포함되는거죠...
단순히 a 시리즈를 원하신다면 * 대신 + 로 쓰시면 될겁니다.

되면 한다! / feel no sorrow, feel no pain, feel no hurt, there's nothing gained.. only love will then remain.. 『 Mizz 』

되면 한다! / feel no sorrow, feel no pain, feel no hurt, there's nothing gained.. only love will then remain.. 『 Mizz 』

goguma73의 이미지

0 또는 이상이군요..
넵 감사합니다.