Brace expansion pattern matching for Elixir, ported from bash/sh and JavaScript implementations.
ExBraceExpansion brings bash-style brace expansion functionality to the Elixir ecosystem. It allows developers to generate lists of strings from compact pattern expressions, similar to how shell expansion works in Unix-like environments. This library is useful for file path generation, configuration management, and any scenario requiring systematic string variations.
{a,b,c} into arrays of strings{start..end} and {start..end..step} syntax{a..e} for character sequences{{A..C},{a..c}}{00..10..5}-v{,,}The project follows a pragmatic approach by porting an established JavaScript implementation to Elixir, ensuring reliability through proven algorithms while integrating naturally with Elixir's functional programming patterns.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.