è¿å¹´ãæ¬é¦åå ¬éãã£ã¦è¡¨ç¾ãããã¾ä½¿ããªãããããã ãã¦ãRegexp::Assemble ã¨ãããæ£è¦è¡¨ç¾æããã®ãããæããã¢ã¸ã¥ã¼ã«ãè¦ä»ãã¾ããã æãããä¸ã«ããã®ããã便å©ã§ãã use strict; use Regexp::Assemble; my $ra = Regexp::Assemble->new; $ra->add('a'); $ra->add('b'); print $ra->re, "\n"; ã¿ãããªã®ãæ¸ãã¨ã (?-xism:[ab]) ã¨ããçµæã«ãªãã è¦ã¯ãadd() ã¡ã½ããã«æ¸¡ããæååãæ£è¦è¡¨ç¾ã®å ¨ã¦ã«ãããããæ£è¦è¡¨ç¾ãä½ã£ã¦ãããã¹ã°ã¬ã¢ãã (?-xism: ã ) ã¨ããã®ã¯åã«ãæ¸ãã¾ããã quote regex æ¼ç®åã使ã£ãããã«ä»å ããããã¯ãã¤ã¹ã¿ãã§ãã ãã®çµæã«å¯¾ãã¦ã¯ãã¯ãã¤ã¹ã¿ã¯å¥ã«ç¡ãã¦ãæ§ããªãã®ã§ãå®è³ª [
{{#tags}}- {{label}}
{{/tags}}