in reply to Re^4: Regex problem - (non)greedy?
in thread Regex problem - (non)greedy?
The first one does not match as the OP contains two spaces at least between 'cd' and 'ghi'.
Also what would he expect for 'cd cd ghi'?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Regex problem - (non)greedy?
by ikegami (Patriarch) on Nov 14, 2013 at 14:44 UTC | |
by hdb (Monsignor) on Nov 14, 2013 at 14:47 UTC | |
by ikegami (Patriarch) on Nov 14, 2013 at 15:08 UTC |