2009/03/19 · 誰ã ã£ã¦ééãã¯ãããããããã¦ä»ãæ£è¦è¡¨ç¾ãééããã¨ããã®ã¯æãééãããã¨ã®å¤ãé¨åã§ããããé人ã§ãããããéãããã¹ãã»ã¨ãã©ãªã以ä¸Â ...
2009/03/19 · 誰ã ã£ã¦ééãã¯ãããããããã¦ä»ãæ£è¦è¡¨ç¾ãééããã¨ããã®ã¯æãééãããã¨ã®å¤ãé¨åã§ããããé人ã§ãããããéãããã¹ãã»ã¨ãã©ãªã以ä¸Â ...
2009å¹´07æ22æ¥20:00 ã«ãã´ãªLightweight Languages javascript+regexp - ã¦ãããé¦é½æå¼·æ±äº¬bookmarklet ä¸é½æ°ã«ãã¦ä¸JavaScripterã«ãã¦ä¸æ£è¦è¡¨ç¾è ã¨ãã¦æ¸ããã«ãããã¾ããã§ããã ã¦ãããæ±äº¬é½æå¼·ã§ã - æãã«ãä¼¼ãç¥ãï¼ã¤ã«ããªï¼ æ±äº¬é½æå¼·bookmarklet 以ä¸ãã試ãç¨ã æ±äº¬é½åº JRæ±æ¥æ¬æ±äº¬é§ æ±äº¬ã¿ã¯ã¼ æ±äº¬é»æ³¢å¡ æ±æ¸æ±äº¬åç©é¤¨ æ±äº¬é½ æ±äº¬é½ä¸å¤®åº æ±äº¬é½æ±æ¸å·åº æ±äº¬é»å æ±äº¬ç¹è¨±è¨±å¯å± ä¸è±æ±äº¬UFJéè¡ ä¸è±æ±äº¬ä¸åéè¡ æ±äº¬ãªãªã³ãã㯠æ±äº¬äºè¼ª æ±äº¬ãã©ã½ã³ æ±äº¬æ©ç¾ æ æ±äº¬æ¦æéµè° æ±äº¬ã ããã£æ¯ãã æ±äº¬ã©ãã¹ãã¼ãªã¼ æ±äº¬å¤±æç©èª æ±äº¬ãã£ãºãã¼ã©ã³ã æ±äº¬é¼ å°å¸¯ ãéé¦é½ãã£ãºãã¼ã©ã³ãåèãã«ãªããªããããªããã¨ãããå±ããåãããã§ãããããããããã§ä»åº¦ã¯æ±
ã¿ã¤ãã«å¤ãã¾ãããæ§ã¿ã¤ãã«ãJavaScriptã§ãã使ãæ¸ãæ¹ãããã使ããã©æ¯åå¿ããã æ£è¦è¡¨ç¾ã«ããããããã©ããã RegExp#testã使ãã /abc/.test("abcdefg") // => true String#searchã¯ãããããä½ç½®ãè¿ãããããããªãå ´åã¯-1ãå é ã«ãããããã¨0ã§falseãªã®ã§æ³¨æãçå½å¤ã欲ããå ´åã¯String#searchã使ããªãã "abcdefg".search(/xxx/) // => -1 "abcdefg".search(/def/) // => 3 "abcdefg".search(/abc/) == false // => true æ£è¦è¡¨ç¾ã®é¨åããããå¾ãã é¨åããããå¾ãã«ã¯ãRegExp#execãString#matchã使ããexecã¨matchã®é度ã¯å¤§ãã¦å¤ãããªãã æ£è¦è¡¨ç¾ã®ãã³ããã¼
2009å¹´03æ19æ¥18:00 ã«ãã´ãªLightweight Languages ãPHP使ãã¯ããæ£è¦è¡¨ç¾ãblogã«æ¸ããªãã¨è¨ãããªãã§ãã ãããã¾ãã ã... ããªã使ããPHPã®æ£è¦è¡¨ç¾ã¾ã¨ã - IDEA*IDEA ã ç¾å¼ç®¡ç人ã®ã©ã¤ãããã¯ããã° ã æ£è¦è¡¨ç¾ã£ã¦ãããã°ã©ãã³ã°è¨èªéã®å·®ãå°ãªããµãè¨èªãªã®ã«ããªããPHPããã¤ãã¨ãã¡æ£è¦è¡¨ç¾ã°ããç»å ´ããã®ããããããã ã ããªã使ããPHPã®æ£è¦è¡¨ç¾ã¾ã¨ã - IDEA*IDEA ã ç¾å¼ç®¡ç人ã®ã©ã¤ãããã¯ããã° ãã¡ã¼ã«ã¢ãã¬ã¹ã¯å³å¯ã«ãã§ãã¯ãããã¨ããã¨ãªããªãé£ããã®ã§ãããç°¡åãªãã§ãã¯ã ã£ããããã§OKã½ãã§ããã /^[^0-9][a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)*[@][a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)*[.][a-zA-Z]{2,4}$
s?https?://[-_.!~*'()a-zA-Z0-9;/?:@&=+$,%#]+ Perlã¡ã¢ ã®æåã¯ã©ã¹é¨ã®ç¯å²ãéè¤ãã¦ããã®ã§ãéè¤ãé¤å»ãã¦çããã¦ãããé¢æ°ãæ¸ãããASCIIã®ç¯å²ã®ã¿å¯¾å¿ã function optimize(range) { var ascii = new Array(0x7f); var i, begin, end; var result = ""; for (i = 0x00; i < ascii.length; ++i) ascii[i] = false; for (i = 0; i < range.length; ++i) { begin = range.charCodeAt(i); if (range.charAt(i+1) == "-") end = range.charCodeAt(i += 2); else end = begin;
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}