On Wed, Jun 3, 2009 at 10:34 AM, erik quanstrom <[email protected]> wrote: >> For example, for lines with 8 characters and the ? operator: >> >> ^????????$ > > just to clarify (sorry if i'm being pedantic): > that will mach lines with *up to* 8 characters. (including > blank lines) "^........$" will match lines with exactly 8 > characters.
No. You mean ^.?.?.?.?.?.?.?.?$ WIthout the dots, it's just asking 8 times whether we're at the beginning of the line or not, and ignoring the answer. -rob
