|
From: | Kevin Rodgers |
Subject: | Re: Go to a Line |
Date: | Thu, 27 Mar 2003 13:38:34 -0700 |
User-agent: | Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Stefan Monnier wrote:
How do you search for numbers in a file?The usual way: `123' matches both the string `123' and the line 123. The only time when it's inconvenient is when you're looking for line 123 and the buffer contains heaps of matches for the string `123'.
Hmmm, how about patching regex.c instead to match a new regular expression: \#N would match the empty string anywhere on line N -- <a href="mailto:<kevin.rodgers@ihs.com>">Kevin Rodgers</a>
[Prev in Thread] | Current Thread | [Next in Thread] |