in reply to regular expression and nested tags
What is going on with the not greedy regexpr?
Non-greedy stops at earliest position where the pattern will match (before the first </div>).
Greedy stops at latest position where the pattern will match (before the last </div>).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: regular expression and nested tags
by vitoco (Hermit) on Jun 12, 2009 at 21:03 UTC | |
by ikegami (Patriarch) on Jun 12, 2009 at 21:06 UTC | |
by vitoco (Hermit) on Jun 12, 2009 at 22:23 UTC | |
by ikegami (Patriarch) on Jun 13, 2009 at 05:42 UTC |