ç¹å®ã®IPã¢ãã¬ã¹ä»¥å¤ã®æ¤ç´¢ ï½ï½? (2009-03-29 (æ¥) 20:48:04) bregonig.dll ç¨ã§ããï¼æ»ãèªã¿ã(?<=)ãã使ç¨ãï¼ "127.0.0.1" 以å¤ï¼ãã¼ã«ã«ã«ã¼ãããã¯ä»¥å¤ï¼ã®æ¤ç´¢ï¼ ((?<=\D)|\b)(?!0*127\.0+\.0+\.0*1(\D|\b))(\d+\.\d+\.\d+\.\d+) ï¼å¶éï¼"127.0.0.1.0" ã¨ããæååããã£ãå ´åãå¾ãã® "0.0.1.0" ã«ã¯ããããã¾ããï¼ "127.0.0.1" 㨠"192.168.0.*" 以å¤ã®æ¤ç´¢ï¼ ((?<=\D)|\b)(?!0*127\.0+\.0+\.0*1(\D|\b))(?!0*192\.0*168\.0+\.\d+(\D|\b))(\d+\.\d+\.\d+\.\d+) ãããªã bregexp.dll ã§ãOKã§ããï¼"a1.2.3.4" ã® "1
{{#tags}}- {{label}}
{{/tags}}