|
From: | SanskritFritz |
Subject: | Non-greedy option greedy? |
Date: | Thu, 13 Nov 2008 14:41:21 +0100 |
Hi there, i execute this command in bash (cygwin): echo CC-3623843-4/2008 | grep -P -o --regexp=-.*?/ and I get this result: -3623843-4/ Shouldn it be -4/ Thanks in advance for your help! SanskritFritz
[Prev in Thread] | Current Thread | [Next in Thread] |