rings100's プログラミング
Perl,PHPなどのWeb系プログラミングのTipsです。
Showing posts with label
正規表現
.
Show all posts
Showing posts with label
正規表現
.
Show all posts
Friday, April 06, 2007
正規表現の例 perl
my $n = 5;
unless ($n =~ /^[1-5]$/) {
print "n is not from one to five";
}else{
print "n is between one and five";
}
Older Posts
Home
Subscribe to:
Posts (Atom)