Perl ⺠æ¼ç®å ⺠here ãqræ¼ç®åãã§æ£è¦è¡¨ç¾ã®ãªãã¡ã¬ã³ã¹ãä½æãããã¨ãã§ãã¾ããqræ¼ç®åã使ãã¨ãæ£è¦è¡¨ç¾ããªãã¡ã¬ã³ã¹ã¨ãã¦å¤æ°ã«ä¿åã§ãã¾ããæ£è¦è¡¨ç¾ã®ãªãã·ã§ã³ãå«ãã¦ä¿åã§ãã¾ããæ£è¦è¡¨ç¾ããã³ã³ãã¤ã«ãããã®ã§ãç¹°ãè¿ããã¿ã¼ã³ããããè¡ãå ´åãé«éã«åä½ãã¾ãã # æ£è¦è¡¨ç¾ã®ãªãã¡ã¬ã³ã¹ my $regex = qr/\d+/sm; ãã¿ã¼ã³ããããè¡ãã¨ãã¯//ã®ä¸ã«å ¥ãããã¨ãã§ãã¾ããããã®ã¾ã¾ä½¿ç¨ãããã¨ãã§ãã¾ãã//ã®ä¸ã«ãããã»ããå°ãè¦ããã¨æãã¾ãã # //ã®ä¸ã§ä½¿ç¨ if ($str =~ /$regex/) { ... } # ãã®ã¾ã¾ä½¿ç¨ if ($str =~ $regex) { ... } ãªãã¡ã¬ã³ã¹ã£ã¦ä½? ãªãã¡ã¬ã³ã¹ã«ã¤ãã¦ã¯ä»¥ä¸ã®è¨äºã§è©³ãã解説ãã¦ãã¾ãã ãªãã¡ã¬ã³ã¹ã®ä½¿ãæ¹ããã¹ã¿ã¼ããã ãµã³ãã« æ£è¦è¡¨ç¾
{{#tags}}- {{label}}
{{/tags}}