in reply to Re: Re: Re: Re: How do I match lines of UP TO 40 chars BUT NO MORE in a block of text?
in thread How do I match lines of UP TO 40 chars BUT NO MORE in a block of text?
Without the ?: the parens will capture the match into $1. You probably don't need to capture. Presumably, not capturing will give you slightly better performance, though it probably wouldn't be noticeable unless you were doing a whole lot of matching.
Glad I could help.
-sauoq "My two cents aren't worth a dime.";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Re: How do I match lines of UP TO 40 chars BUT NO MORE in a block of text?
by kleinbiker7 (Sexton) on Sep 26, 2002 at 15:06 UTC |