in reply to Fell off the Llama
The stated answer includes a space between the right paren and the brace, which means that it won't work unless the x is added, like:
Deleting the space will also work:/(what) {3}/x
But it does capture, and it doesn't have to if that is not what's needed - just use non-capturing grouping:/(what){3}/
/(?:what){3}/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Fell off the Llama
by theorbtwo (Prior) on Jun 25, 2004 at 01:43 UTC |