elixir-editors / language-elixir

Elixir language support for the Atom editor.
Other
181 stars 40 forks source link

Regexp support in elixir-lang #38

Closed ontofractal closed 8 years ago

ontofractal commented 8 years ago

The regexp expression in elixir-lang is not detected as a regex by Atom and as a consequence regex packages like regex-railroad aren't activated. Simple example:

String.replace(~r/\s+/," ")
keathley commented 8 years ago

Looks like the issue is that its just matching all sigils as interpolated elixir strings.

keathley commented 8 years ago

I've opened a PR to handle this. Looks like some changes will need to be made to regex-railroad to correctly interpret elixir regex.