Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: More warn_create_global warnings
- X-seq: zsh-workers 37461
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: More warn_create_global warnings
- Date: Wed, 30 Dec 2015 17:27:55 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=gNJv9Og5uOyuYrwBmSDMytv1s0iY6Fr9FIYoyiLFzuE=; b=R6GHGzWZV5lRJrAi2+ekQJ0LBJiR8dPtmeSPbTT7CKuUzqHCHVHpjLTZVOiCY3HGTc D0gAIIeywEmZQwOnLkQyH4lcnJMx1BaF0T9nh3hDOAX6IgGEIzXhaVcP6maVDsdWejOx HcgKS5ZzAzeMYBh/js0S/Qje/QeHDzu0aF/G8zCT0ncFcSmyR3Q6AQNU+Yd+3JmppM7F FCB/3yIFOiMGvUJJjnJq8Mm7EEbxTAF2YFulh3LqYlF9vwUgOFL0EDdz6UMISz3ANwlg cKrjbYC1I4GUGV/RJ35Et8WBJFFTABgkUCSeBlF7DCY18Tq/NNpivgMdD46RlMrQGdKJ fagw==
- In-reply-to: <20151231004923.GB2455@tarsus.local2>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <87mvss6mru.fsf@ft.bewatermyfriend.org> <20151231004923.GB2455@tarsus.local2>
On Dec 31, 12:49am, Daniel Shahaf wrote:
}
} You used to have to 'local' both mbegin,mend,match and MBEGIN,MEND,MATCH.
} I'm not sure whether that's still the case in latest master (couldn't
} reproduce it, but maybe I wasn't trying right).
Not exactly.
You need local for mbegin, mend, and match to use the (#b) glob flag.
You need it for MBEGIN, MEND, and MATCH to use the (#m) flag.
You need all six parameters declared local only if using both flags.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author