[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8585: 23.3; Feature Request/"patch": allow initial tabs for python t
From: |
Chong Yidong |
Subject: |
bug#8585: 23.3; Feature Request/"patch": allow initial tabs for python tracebacks |
Date: |
Sun, 08 May 2011 16:36:20 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Dave Abrahams <dave@boostpro.com> writes:
> I have some tools that produce python tracebacks, but they add an
> initial tab. BuildBot is one example.
> (caml
> - "^ *File \\(\"?\\)\\([^,\" \n\t<>]+\\)\\1, lines?
> \\([0-9]+\\)-?\\([0-9]+\\)?\\(?:$\\|,\
> + "^\s-*File \\(\"?\\)\\([^,\" \n\t<>]+\\)\\1, lines?
> \\([0-9]+\\)-?\\([0-9]+\\)?\\(?:$\\|,\
> \\(?: characters? \\([0-9]+\\)-?\\([0-9]+\\)?:\\)?\\([ \n]Warning:\\)?\\)"
> 2 (3 . 4) (5 . 6) (7))
Shouldn't it be `[\s-]*' rather than `\s-*'? The latter is not
compatible with the old expression.