Added curly brace pattern matching for auto commands (#100).
authorDaniel Carl <danielcarl@gmx.de>
Sat, 6 Sep 2014 12:37:38 +0000 (14:37 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Sat, 6 Sep 2014 20:14:20 +0000 (22:14 +0200)
commit9dd67ade189d799ead56857c01ede3798aa23215
treeaeece55af9cd11274bc71447707b4ad3c1d03dee
parent6e884f6a7b0c42027eb043e6a353ab8616f41cc6
Added curly brace pattern matching for auto commands (#100).

This allows to match pattern with {foo,bar} to match 'foo' or 'bar'. This is
really useful for protocol matching for examaple
http{s,}://{www,mail,maps}.ugly-domain.com/*.
src/util.c
tests/test-util.c