Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow '=' character in env-variable value #36

Closed
wants to merge 4 commits into from

Conversation

freakinruben
Copy link

I ran into a situation where I had to store a string containing an = character in the value, and the string is terminated before the =:

VALUE=hello=world

would result in value being hello

I ran into a situation where I had to store a string containing an '=' character in the value, and the string is terminated before the `=`:

```
VALUE=hello=world
```

would result in value being `hello`
@freakinruben
Copy link
Author

ping

@GantMan
Copy link
Collaborator

GantMan commented Nov 9, 2016

LGTM 👍

How about considering regex, which would be cleaner and help identify the key values with less code and more dynamics?

example:
http://rubular.com/r/Grw8w0OJmI

@pedro
Copy link
Contributor

pedro commented Dec 8, 2016

Updated to use regexp in #59. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants