Update elixir.md

I believe this was the intention, ~s[ ] seems to not do anything, but ~s| | seems to have the effect described.
This commit is contained in:
Max 2018-06-10 13:05:02 -04:00 committed by GitHub
parent 972ef7559c
commit 09125c8ed3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -686,8 +686,8 @@ exp = ~r/hello/i
```elixir ```elixir
~r/regexp/ ~r/regexp/
~w(list of strings) ~w(list of strings)
~s[strings with #{interpolation} and \x20 escape codes] ~s|strings with #{interpolation} and \x20 escape codes|
~S[no interpolation and no escapes] ~S|no interpolation and no escapes|
~c(charlist) ~c(charlist)
``` ```