Hey everyone,
I would like to share a repo I’ve been working on: GitHub - NickGowdy/pattern_to_regex_app: Elixir app that takes a sequence from command line and translates it to a regex.
This app is run through Bash to call an Elixir module which then returns a regex to be used by an external library. It’s a bit convoluted as it was a test for a company but it shows working with the memory stream, pattern matching, returning code from Elixir back to Bash script and translating different tokens to regex.
I hope this is useful/helpful for anyone who came across similar problems.
Nick