emil
Tue Aug 29 2017
You can create a multiline regex in Elixir using r""" for example:
```
assert yml_file_content =
~r"""
foo:
environment:
- VIRTUAL_HOST=[a-z]{10}.127.0.0.1.xip.io
bar:
environment:
VIRTUAL_HOST: [a-z]{10}.127.0.0.1.xip.io
"""
```
```
assert yml_file_content =
~r"""
foo:
environment:
- VIRTUAL_HOST=[a-z]{10}.127.0.0.1.xip.io
bar:
environment:
VIRTUAL_HOST: [a-z]{10}.127.0.0.1.xip.io
"""
```