in reply to Backtracking problem with .*(?!bar)
I have found people don't like to use the .*, I try to use it as infrequently as possible. Maybe one of these would help you out
.{0,} - Match 0 or more times. .?? - Match 0 or 1 times (as few as possible).
--
paul
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Re: Backtracking problem with .*(?!bar)
by merlyn (Sage) on Sep 24, 2003 at 20:04 UTC | |
by tsee (Curate) on Sep 25, 2003 at 10:15 UTC | |
|
Re: Re: Backtracking problem with .*(?!bar)
by perlguy (Deacon) on Sep 24, 2003 at 14:21 UTC |