Привет!
Кто-нибудь видел матчер путей на clojure/java вроде такого как это сделано в postgres плагине ltree.
https://www.postgresql.org/docs/9.3/ltree.html> *.foo.* Match any label path containing the label foo
> Top.*{0,2}.sport*@.!football|tennis.Russ*|Spain
> This query will match any label path that:
> begins with the label Top
> and next has zero to two labels before
> a label beginning with the case-insensitive prefix sport
> then a label not matching football nor tennis
> and then ends with a label beginning with Russ or exactly matching Spain.
Это что-то вроде /foo/**/*.bar, но я хочу *{1}, или, не и т.п.
Или может быть какие-то более простые и быстрые "регулярки"?