Popularity
2.1
Growing
Activity
0.0
Stable
4
2
4
Monthly Downloads: 6
Programming language: Elixir
License: MIT License
Tags:
Text And Numbers
ex_brace_expansion alternatives and similar packages
Based on the "Text and Numbers" category.
Alternatively, view ex_brace_expansion alternatives based on common mentions on social networks and blogs.
-
money
Elixir library for working with Money safer, easier, and fun... Is an interpretation of the Fowler's Money pattern in fun.prog. -
nanoid
Elixir port of NanoID, a secure and URL-friendly unique ID generator. https://hex.pm/packages/nanoid -
stemmer
An English (Porter2) stemming implementation in Elixir. -
exmoji
:sunglasses: Emoji encoding swiss army knife for Elixir/Erlang -
secure_random
Convenience library for random base64 strings modeled after my love for Ruby's SecureRandom -
chinese_translation
An elixir module to translate simplified Chinese to traditional Chinese, and vice versa, based on wikipedia data -
veritaserum
Sentiment analysis based on afinn-165, emojis and some enhancements. -
abacus
Parses and evaluates mathematical expressions in Elixir. Inspired by math.js -
neotomex
A PEG parser/transformer with a pleasant Elixir DSL. -
monetized
A lightweight solution for handling and storing money. -
Ex_Cldr_Numbers
CLDR Number localisation and formatting -
inet_cidr
CIDR library for Elixir that is compatible with Erlang's :inet and supports both IPv4 and IPv6 -
haikunator
Generate Heroku-like memorable random names to use in your apps or anywhere else. -
sentient
Simple sentiment analysis using the AFINN-111 word list -
Ex_Cldr_Units
Unit formatting (volume, area, length, ...) functions for the Common Locale Data Repository (CLDR) -
expr
An Elixir library for parsing and evaluating mathematical expressions -
mt940
MT940 (standard structured SWIFT Customer Statement message) parser for Elixir. -
custom_base
Allow you to make custom base conversion in Elixir.
Learn Elixir in as little as 12 Weeks
A structured learning environment with practical assignments, code reviews, weekly live coaching sessions, job-hunting assistance, and more. Try a Free Preview today!
Promo
learn-elixir.dev
Do you think we are missing an alternative of ex_brace_expansion or a related project?
README
ExBraceExpansion
Brace expansion, as known from sh/bash, in Elixir. This is a port of brace-expasion javascript project.
Examples
iex> import ExBraceExpansion
nil
iex> expand("file-{a,b,c}.jpg")
["file-a.jpg", "file-b.jpg", "file-c.jpg"]
iex> expand("-v{,,}")
["-v", "-v", "-v"]
iex> expand("file{0..2}.jpg")
["file0.jpg", "file1.jpg", "file2.jpg"]
iex> expand("file-{a..c}.jpg")
["file-a.jpg", "file-b.jpg", "file-c.jpg"]
iex> expand("file{2..0}.jpg")
["file2.jpg", "file1.jpg", "file0.jpg"]
iex> expand("file{0..4..2}.jpg")
["file0.jpg", "file2.jpg", "file4.jpg"]
iex> expand("file-{a..e..2}.jpg")
["file-a.jpg", "file-c.jpg", "file-e.jpg"]
iex> expand("file{00..10..5}.jpg")
["file00.jpg", "file05.jpg", "file10.jpg"]
iex> expand("{{A..C},{a..c}}")
["A", "B", "C", "a", "b", "c"]
iex> expand("ppp{,config,oe{,conf}}")
["ppp", "pppconfig", "pppoe", "pppoeconf"]