Hi Bruno and Cameron,
On Mon, Mar 19, 2012 at 07:04, Cameron Simpson wrote:
> On 18Mar2012 20:19, Bruno Wolff III wrote:
> | On Sun, Mar 18, 2012 at 23:46:17 +0100,
> | suvayu ali wrote:
> | >
> | >I'm trying to write a regular expression that matches function and class
> | >definitions in C
On 18Mar2012 20:19, Bruno Wolff III wrote:
| On Sun, Mar 18, 2012 at 23:46:17 +0100,
|suvayu ali wrote:
| >
| >I'm trying to write a regular expression that matches function and class
| >definitions in C/C++ and defuns in lisp code. I intend to use it with
| >sed and `git blame'. My first att
On Sun, Mar 18, 2012 at 23:46:17 +0100,
suvayu ali wrote:
I'm trying to write a regular expression that matches function and class
definitions in C/C++ and defuns in lisp code. I intend to use it with
sed and `git blame'. My first attempt relies on indentation. That
obviously breaks rather of
On Sun, Mar 18, 2012 at 23:46, suvayu ali wrote:
> So I was wondering if there was a way to "count" the braces and
> parentheses with regular expressions. If that is possible, I could
> easily count and find the matching brace.
I forgot to mention, the hints I found with some searching doesn't
qu
Hi,
I wasn't sure which list would be appropriate for this question, but
since there are many knowledgeable members on this one I thought I ask
here.
I'm trying to write a regular expression that matches function and class
definitions in C/C++ and defuns in lisp code. I intend to use it with
sed