I have a file containing this single line:
I want to match all two element sequences of 1 in all occurrences.
But when I try this
$ perl -lne 'print $1 if /.*(11).*/g' u
I get only one result despite the presence of
g at the end of my RE: