in reply to Re^2: Regarding Regular Expressions
in thread Regarding Regular Expressions

Thats wrong, since the example has more 'fg' as 'e' so every hit starts at the first e and ends at x's 'fg'.
$input = 'xxxxefghijklfghijklabcdefg'; __OUTPUT__ efg efghijklfg efghijklfghijklabcdefg
Boris