|
News,
Internal,
Projects,
Home Software, Support, Documentation |
> \w[\w\-_\.]+@[\w\-_\.]+\w
>
> °ú °°ÀÌ ÇÏ¸é µÇÁö ¾ÊÀ»±î¿ä?
>
> ¿øÇÏ´Â°Ô ¸Â´ÂÁö´Â ¸ð¸£Áö¸¸,
>
> ´ÙÀ½°ú °°ÀÌ µÇ´Â±º¿ä.
>
> bash-2.03$ ./test.pl
> ...person@some.net---
>
> person@some.net
>
> bash-2.03$ cat ./test.pl
> #!/usr/local/bin/perl -w
>
> if (<STDIN> =~ /(\w[\w\-_\.]+@[\w\-_\.]+\w)/)
> {
> print "\n$1\n";
> }
>
> --
±×°Ô ÂÁ.. ¸¸¾à À̸ÞÀÏ ¾îÄ«¿îÆ® Áß°£¿¡ ÇÏÀÌÇÂÀ̳ª ¾ð´õ¹Ù°¡ µé¾î°¥ °æ¿ì
¹®Á¦¸¦ ÀÏÀ¸Åµ´Ï´Ù..
°á±¹ [\w\-_\.]+@[\w\-_\.]+
·Î »Ì°í
^[\w\-_]+(\.[\w\-_]+)*@[\w\-]+(\.[\w\-]+)*(\.[a-zA-Z]{2,3})$
·Î °É·¯¼ ´Ùµë´Â ¹æ¹ýÀ» ÀÏ´Ü ½è½À´Ï´Ù..
Á¤±Ô½Ä Á¤¸» ½È¾î... -.-
--
Please look and take part in KFUG FAQ: <http://www.kr.freebsd.org/FAQ-kr/>
To Unsubscribe: send mail to majordomo@kr.FreeBSD.org
with "unsubscribe questions" in the BODY of the message
|
Copyright © 1998-2005 Korea FreeBSD Users Group. All rights reserved. webmaster at kr.FreeBSD.org $Date: 2002/10/31 23:00:24 $ |
|