On 06/01/2016 12:33 PM, Марк Коренберг wrote:
Example:$ echo qwerty | egrep -o 'we|wert' wert $ echo qwerty | egrep -o 'wert|we' wert
That's not a bug; it's a feature. See, for example: https://swtch.com/~rsc/regexp/regexp1.html
On 06/01/2016 12:33 PM, Марк Коренберг wrote:
Example:$ echo qwerty | egrep -o 'we|wert' wert $ echo qwerty | egrep -o 'wert|we' wert
That's not a bug; it's a feature. See, for example: https://swtch.com/~rsc/regexp/regexp1.html