That's my ruby roots peeking through.
On Aug 2, 2013 12:40 AM, "Aurimas Vinckevicius" <notifications@github.com>
wrote:

> In BibTeX.js:
>
> > +	var keys, ki;
> > +	var record;
> > +	var collectionPath = [], cpi;
> > +	var collection, child, ci;
> > +
> > +	while(read = Zotero.read(1)) {
> > +		if (read == "}") { break; }
> > +		comment += read;
> > +	}
> > +
> > +	if (comment == 'jabref-meta: groupsversion:3;') {
> > +		jabref.format = 3;
> > +		return;
> > +	}
> > +
> > +	if (comment.match(/^jabref-meta: groupstree:/)) {
>
> comment.indexOf('jabref-meta: groupstree:') == 0 would be more efficient
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/zotero/translators/pull/603/files#r5543047>
> .
>