Regexp example 1

Perl Add comments


while ($x =~ /(\w+)/g) {
print "Word is $1, ends at position ", pos $x, "\n";
}

Leave a Reply

You must be logged in to post a comment.

WebSite Powered by webHauser
Entries RSS Comments RSS Login