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

Update Elixir tokenization of sigil modifiers #2806

Merged
merged 2 commits into from
Dec 8, 2021

Conversation

jonatanklosko
Copy link
Contributor

@jonatanklosko jonatanklosko commented Dec 8, 2021

Elixir has syntax for custom string interpreters like ~r/regex/i. The trailing part is a set of modifiers, in this case making the regexp case-insensitive. The modifiers could only be lower and uppercase characters, but a recent change allows numbers too. See elixir-lang/elixir#11282.

I also updated operators with the ** (power), which has been added recently.

Sidenote: when building the website locally it always used the old version of tokenizers, I even tried resetting the repo, running install, release, build-website, simpleserver and it would still pick up the old version. Is there an option to build from local files?

@hediet
Copy link
Member

hediet commented Dec 8, 2021

Thank you!

Sidenote: when building the website locally it always used the old version of tokenizers, I even tried resetting the repo, running install, release, build-website, simpleserver and it would still pick up the old version. Is there an option to build from local files?

Please see here #2807

@hediet hediet merged commit 86cff74 into microsoft:main Dec 8, 2021
@hediet hediet added this to the December 2021 milestone Dec 8, 2021
@jonatanklosko jonatanklosko deleted the jk-elixir-sigils branch December 8, 2021 12:10
@alexdima alexdima modified the milestones: December 2021, November 2021 Dec 10, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants