Help for this page
"fooXbarYbarQ" =~ /(foo)(.{1,5}?)barQ/ # match entire string
"fooXbarYbarQ" =~ /(foo)(((?!bar).){1,5})barQ/ # won't match