Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linux ÕýÔò±í´ïʽѧϰ2

ÕýÔò±í´ïʽ(regular expression)
[code:1]ÕýÔò±í´ïʽ(regular expression)
--------------------------------------------------------------------------------
¹Ø¼ü×Ö£º ÕýÔò±í´ïʽ£¬Regular Expression
Ô­Öø£ºÐ¦ÈÝ
´´×÷ÓÚ£º2004Äê05ÔÂ03ÈÕ
×îºó¸üУº2004Äê05ÔÂ04ÈÕ 21:12
°æȨÉùÃ÷£ºÊ¹Óô´×÷¹«ÓðæȨЭÒé
ÒýÓõØÖ·£º<a href="http://www.ixue.net/programer/regular_expression.htm">ÕýÔò±í´ïʽ(regular expression)</a>
·µ»Ø
--------------------------------------------------------------------------------
Ç°ÑÔ
ÕýÔò±í´ïʽÊÇ·³ËöµÄ£¬µ«ÊÇÇ¿´óµÄ£¬Ñ§»áÖ®ºóµÄÓ¦ÓûáÈÃÄã³ýÁËÌá¸ßЧÂÊÍ⣬»á¸øÄã´øÀ´¾ø¶ÔµÄ³É¾Í¸Ð¡£Ö»ÒªÈÏÕæÈ¥ÔĶÁÕâЩ×ÊÁÏ£¬¼ÓÉÏÓ¦ÓõÄʱºò½øÐÐÒ»¶¨µÄ²Î¿¼£¬ÕÆÎÕÕýÔò±í´ïʽ²»ÊÇÎÊÌâ¡£
Ë÷Òý
1._Òý×Ó
2._ÕýÔò±í´ïʽµÄÀúÊ·
3._ÕýÔò±í´ïʽ¶¨Òå
3.1_ÆÕͨ×Ö·û
3.2_·Ç´òÓ¡×Ö·û
3.3_ÌØÊâ×Ö·û
3.4_ÏÞ¶¨·û
3.5_¶¨Î»·û
3.6_Ñ¡Ôñ
3.7_ºóÏòÒýÓÃ
4._¸÷ÖÖ²Ù×÷·ûµÄÔËËãÓÅÏȼ¶
5._È«²¿·ûºÅ½âÊÍ
6._²¿·ÖÀý×Ó
7._ÕýÔò±í´ïʽƥÅä¹æÔò
7.1_»ù±¾Ä£Ê½Æ¥Åä
7.2_×Ö·û´Ø
7.3_È·¶¨Öظ´³öÏÖ
--------------------------------------------------------------------------------
1. Òý×Ó
¡¡¡¡Ä¿Ç°£¬ÕýÔò±í´ïʽÒѾ­ÔںܶàÈí¼þÖеõ½¹ã·ºµÄÓ¦Ó㬰üÀ¨*nix£¨Linux, UnixµÈ£©£¬HPµÈ²Ù×÷ϵͳ£¬PHP£¬C#£¬JavaµÈ¿ª·¢»·¾³£¬ÒÔ¼°ºÜ¶àµÄÓ¦ÓÃÈí¼þÖУ¬¶¼¿ÉÒÔ¿´µ½ÕýÔò±í´ïʽµÄÓ°×Ó¡£
¡¡¡¡ÕýÔò±í´ïʽµÄʹÓ㬿ÉÒÔͨ¹ý¼òµ¥µÄ°ì·¨À´ÊµÏÖÇ¿´óµÄ¹¦ÄÜ¡£ÎªÁ˼òµ¥ÓÐЧ¶øÓÖ²»Ê§Ç¿´ó£¬Ôì³ÉÁËÕýÔò±í´ïʽ´úÂëµÄÄѶȽϴó£¬Ñ§Ï°ÆðÀ´Ò²²»ÊǺÜÈÝÒ×£¬ËùÒÔÐèÒª¸¶³öһЩŬÁ¦²ÅÐУ¬ÈëÃÅÖ®ºó²ÎÕÕÒ»¶¨µÄ²Î¿¼£¬Ê¹ÓÃÆðÀ´»¹ÊDZȽϼòµ¥ÓÐЧµÄ¡£
Àý×Ó£º ^.+@.+\\..+$
¡¡¡¡ÕâÑùµÄ´úÂëÔø¾­¶à´Î°ÑÎÒ×Ô¼º¸øÏÅÍ˹ý¡£¿ÉÄܺܶàÈËÒ²ÊDZ»ÕâÑùµÄ´úÂë¸øÏÅÅܵİɡ£¼ÌÐøÔĶÁ±¾ÎĽ«ÈÃÄãÒ²¿ÉÒÔ×ÔÓÉÓ¦ÓÃÕâÑùµÄ´úÂë¡£
¡¡¡¡×¢Ò⣺ÕâÀïµÄµÚ7²¿·Ö¸úÇ°ÃæµÄÄÚÈÝ¿´ÆðÀ´ËƺõÓÐЩÖظ´£¬Ä¿µÄÊÇ°ÑÇ°Ãæ±í¸ñÀïµÄ²¿·ÖÖØÐÂÃèÊöÁËÒ»´Î£¬Ä¿µÄÊÇÈÃÕâЩÄÚÈݸüÈÝÒ×Àí½â¡£
2. ÕýÔò±í´ïʽµÄÀúÊ·
¡¡¡¡ÕýÔò±í´ïʽµÄ“×æÏÈ”¿ÉÒÔÒ»Ö±ÉÏËÝÖÁ¶ÔÈËÀàÉñ¾­ÏµÍ³ÈçºÎ¹¤×÷µÄÔçÆÚÑо¿¡£Warren McCulloch ºÍ Walter Pitts ÕâÁ½Î»Éñ¾­ÉúÀíѧ¼ÒÑо¿³öÒ»ÖÖÊýѧ·½Ê½À´ÃèÊöÕâЩÉñ¾­ÍøÂç¡£
¡¡¡¡1956 Äê, һλ½Ð Stephen Kleene µÄÊýѧ¼ÒÔÚ McCulloch ºÍ Pitts Ôç


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
 Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......

ʵսLinux Bluetooth±à³Ì (Æß) SDPЭÒé

Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖЭÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀЭÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......

°²×°RedHat Linux AS 4 vmware ϵÄeth0ÕÒ²»µ½ip


ÔÚwindowXPÏ°²×°ÁËRedhat linux AS4£¬ÔÚvmwareÏÂÑ¡ÔñÁËhost-only·½Ê½ÓëÖ÷»úͨÐÅ¡£
ʹÓÃhost-only·½Ê½ÓëÖ÷»úͨÐÅ£¬vmwareʹÓõÄÊÇVMware Network Adapter VMnet1ÐéÄâÍø¿¨£¬²é¿´¸ÃÍø¿¨µÄIPÊÇ 192.168.75.1¡£
ÔÚÐéÄâ»úÏÂÃæµÄlinuxÏÂÓöµ½ÁËһϼ¸¸öÎÊÌ⣺
1¡¢Äܹ»ÕÒµ½ eth0Íø¿¨£¬Ò²¾ÍÁ¬²»ÉÏÍøÂç¡£Ö¢×´ÊÇifconfigÒÔºóÄÜÏÖÊ ......

linuxÍøÂç²ÎÊý½âÎö

linuxÍøÂç²ÎÊýÖ÷ҪλÓÚÏÂÃæÁ½¸öĿ¼ÏÂ:/proc/sys/net/core/ºÍ/proc/sys/net/ipv4/, ÏÂÃæ·Ö±ð¶ÔÕâÁ½¸öĿ¼Ï³£Óõļ¸¸öÍøÂç²ÎÊý×öÏÂ˵Ã÷:
 
1./proc/sys/net/core/
 
$ /proc/sys/net/core/somaxconn
listen()µÄĬÈϲÎÊý,¹ÒÆðÇëÇóµÄ×î´óÊýÁ¿.ĬÈÏÊÇ128.¶Ô·±Ã¦µÄ·þÎñÆ÷,Ôö¼Ó¸ÃÖµÓÐÖúÓÚÍøÂçÐÔÄÜ, ¿É²Î¿¼µÄÓÅ»¯Ö ......

ѧϰLINUX²½Ö裨ת£©

1¡¢Linux »ù´¡
°²×°Linux²Ù×÷ϵͳ LinuxÎļþϵͳ Linux³£ÓÃÃüÁî LinuxÆô¶¯¹ý³ÌÏê½â ÊìϤLinux·þÎñÄܹ»¶ÀÁ¢°²×°Linux²Ù×÷ϵͳ Äܹ»ÊìÁ·Ê¹ÓÃLinuxϵͳµÄ»ù±¾ÃüÁî ÈÏʶLinuxϵͳµÄ³£Ó÷þÎñ°²×°Linux²Ù×÷ϵͳ Linux»ù±¾ÃüÁîʵ¼ù ÉèÖÃLinux»·¾³±äÁ¿ ¶¨ÖÆLinuxµÄ·þÎñ Shell ±à³Ì»ù´¡Ê¹ÓÃvi±à¼­Îļþ ʹÓÃEmacs±à¼­Îļþ ʹÓÃÆäËû±à ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ