Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Explain my matcher-list style to me :-)
- X-seq: zsh-users 21072
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Explain my matcher-list style to me :-)
- Date: Tue, 8 Dec 2015 14:31:50 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:to:subject:mime-version:content-type; bh=R5ub2ghkGvWJW1O+sawOuAD0LKIjRi9yMTzWkPC/I68=; b=z+SoxmGStehtUL/3LW/0ISgC7jxf7w5Xv5ofSG+oFGUFQb/H5vudpgJNIXMPufQ+Cp V5+3kA1QJz1J9PnP+a9+ndUz5RJSuF3pAR6Tbw11ZS7R1lX7/J+7GcpsL9J7pQiDBnFc bubk0Qh08OFn/i3x9ttS0e6oqD/pk288vi0wAbUc3TLjcjbTbplnUaKg5HcQLYUk28lI 1W0YjsBZfRcxUgiLp4zB0hcO1PZJNpCyeTlF40g9zce86BQffd/33FkI36AFt9goK6OR y6mfk2w/1E7mFNFMprcc07zGblMLOEIgOsqNzb5iv0At/GCTGzYP4KfOFTunN/R8yyYf JZcw==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
A very long time ago I copied this matcher-list style out of a zsh-users
thread. Unfortunately I've lost track of that thread, and there's no
good way to search archives for strings like "l:|=*".
zstyle ':completion:*' matcher-list '' 'r:|[-._,]=** r:|=**' \
'm:{[:lower:][:upper:]}={[:upper:][:lower:]} r:|[-._,]=** r:|=**' \
'r:|[-._,]=** r:|=** l:|=*'
I understand thee first three:
''
'r:|[-._,]=** r:|=**'
'm:{[:lower:][:upper:]}={[:upper:][:lower:]} r:|[-._,]=** r:|=**'
But I've forgotten what is gained by adding the l:|=* pattern in that
final one. How does it differ from the second one?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author