Ahh, I looked all over for the actual regex. Thanks so much, will update. 


(Can you tell I took this directly from the php ctags file? :)
---
Graham Holtslander

On Wed, Apr 9, 2014 at 5:57 PM, Robert Bruce Park
<notifications@github.com> wrote:

>> @@ -0,0 +1,21 @@
>> +var ctags = require("zed/ctags");
>> +var indexToLine = require("zed/util").indexToLine;
>> +
>> +var FN_REGEX = /(class|def)\s+([a-zA-Z0-9_\$]+)\s*[\(\:]/mg;
> This is incorrect, `$` is not a valid python identifier. Here is the official schema:
> https://docs.python.org/2/reference/lexical_analysis.html#identifiers
> Which means this regex should be more like `/(class|def)\s+([^\d\W]\w*)\s*[\(\:]/mg`
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/zedapp/zed/pull/259/files#r11465027