- or download this
foo this is one example bar
this is a line I don't care about
foo here's another keeper! bar
foo yet another bar
and a line to reject
- or download this
while ($text =~/foo(*.?)bar/) {
manipulate ($1)
}
- or download this
while ($text =~/foo(*.?)bar/g) {
manipulate ($1)
}
- or download this
while ($text =~/\Gfoo(*.?)bar/g) {
manipulate ($1)
}
- or download this
($text =~/foo(*.?)bar/g)
manipulate ($1);
while ($text =~/\Gfoo(*.?)bar/g) {
manipulate ($1)
}