ããæååãå«ã¾ãªãæ£è¦è¡¨ç¾ã«ã¤ãã¦èª¿ã¹ãã¨Perlã§ã¯(?:(?!foo).)+ã¨ããã fooã®é¨åã«ã¯ä»»æã®ãã¿ã¼ã³ãæ¥ããã¨ãã§ããã æã
ãã®ãã¿ã¼ã³ã¯ä¾¿å©ã§ãä¾ãã°JRââé§
ã®ãã¡ãJRé£æ³¢é§
以å¤ã¨ããã®ã¯ããããããã¿ã¼ã³ã§æ¸ããã JR(?:(?!é£æ³¢).)+?é§
ã¾ããããªèª¿åã§æãåºããã¨ãã§ããã ã¾ã便å©ãªæ£è¦è¡¨ç¾ã§ãã ã¨ããã調ã¹ã¦ããããããªæ¬ é¥ãæµ®ãã³ä¸ãã£ã¦ããã ã¨ããã®ãgankaiã¨ããæååãå«ã¾ãªããã¿ã¼ã³ãä½ã£ã¦ãã調ã¹ãã print join(',' , 'gankai'=~m/(?:(?!gankai).)+/g),"\n"; ããã¨ankaiã¨ãããããã確ãã«æ£è§£ã§ãã ãã©ç´æçã«ã¯gankaã§ãããããã«è¦ãã¾ããã æ®éã¯é ãããããããã¦ãã£ã¦ããããããããã§é²ãã¦è¡ãã¨ãã風ã«ãªã£ã¦ãã¾ãã ãããæ£è¦è¡¨ç¾ã欲張ãã ããã£
{{#tags}}- {{label}}
{{/tags}}