Help for this page
/a{1,5}/; # match 1-5 'a's prefer the longest. /a{1,5}?/; # match 1-5 'a's prefer the shortest.
#!/usr/bin/perl -wT use strict; ... NonGreedy: a