regexp :: common :: comment.

regexp :: Common :: Comment´Â ÁÖ¼®ÀÇ regexes¸¦ Á¦°øÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

regexp :: common :: comment. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Damian Conway
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~dconway/

regexp :: common :: comment. ű×


regexp :: common :: comment. ¼³¸í

regexp :: Common :: comment´Â ´ñ±ÛÀ»À§ÇÑ regexes¸¦ Á¦°øÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. RegeXP :: Common :: Comment´Â comments¿¡ ´ëÇÑ regexes¸¦ Á¦°øÇÏ´Â perl ¸ðµâÀÔ´Ï´Ù. ½Ä ³ëÇÁ ½º »ç¿ë regexp :: °øÅë qw / comment /; while () {/ $ re {comment} {c} / ¹× Àμâ "C communtn"; / $ RE {´ñ±Û} {C ++} / ¹× Àμâ "C ++ commentn"; / $ ret {comment} {php} / ¹× print "php commentn"; / $ ret {comment} {java} / ¹× print "Java Commentn"; / $ RE {´ñ±Û} {PERL} / ¹× Àμâ "PERL ÄÚ¸àÆ®°¡ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù"; / $ ret {comment} {awk} / ¹× print "awk commentn"; / $ RE {´ñ±Û} {html} / ¹× Àμâ "HTML ÄÚ¸àÆ®°¡ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù"; } regexp :: °øÅë QW / comment re_comment_html /; while () {$ _ = ~ re_comment_html () ¹× Àμâ "HTML commentn"; }ÀÌ ÀÎÅÍÆäÀ̽ºÀÇ ÀÛÇ°¿¡ ´ëÇÑ ÀϹÝÀûÀÎ ¼³¸íÀº Regexp :: °øÅëÀÇ ¼³¸í¼­¸¦ ÂüÁ¶ÇϽʽÿÀ. : ¡¤ Perl ¿ä±¸ »çÇ× : ¡¤ Perl.


regexp :: common :: comment. °ü·Ã ¼ÒÇÁÆ®¿þ¾î