> From: Brandon Allbery [mailto:allber...@gmail.com]
> 
> I'm thinking the problem is that it is allowing any character to match [^#] 
> ---
> including newline, which you likely do not expect. Try [^#\n] instead.

Thanks, that worked. But I'm still going to have to conclude that it's a bug, 
because the .* or .? matches the newline on a blank line, while the .* or .? 
matches everything up to (and not including) the newline on non-blank lines.

So I've got a workaround, but I'll go report it to them.
_______________________________________________
Tech mailing list
Tech@lists.lopsa.org
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to