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

Regexp error in Terraform #1304

Closed
sashee opened this issue Aug 15, 2019 · 3 comments · Fixed by #1490
Closed

Regexp error in Terraform #1304

sashee opened this issue Aug 15, 2019 · 3 comments · Fixed by #1490
Assignees
Labels
bugfix-request A request for a bugfix to be developed.

Comments

@sashee
Copy link

sashee commented Aug 15, 2019

Name of the lexer
Terraform

Online example
Got an error when saving the paste

Code sample

resource "aws_cloudfront_distribution" "s3_distribution" {
  aliases = ["www.${replace(var.domain_name, "/\\.$/", "")}"]
}

Screenshots

image

Additional context

The $ in the regexp is reported as error, but it is valid.

@sashee sashee added the bugfix-request A request for a bugfix to be developed. label Aug 15, 2019
@pyrmont
Copy link
Contributor

pyrmont commented Aug 15, 2019

@sashee Sorry about the fact it's not possible to save pastes. That's on my list of things to fix (should probably move it higher up).

@sashee
Copy link
Author

sashee commented Aug 15, 2019

No worries:) A screenshot is trivial to make

@pyrmont
Copy link
Contributor

pyrmont commented Apr 8, 2020

Oh, and it doesn't help with checking the way PRs lex things but we did eventually get the dingus working again :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix-request A request for a bugfix to be developed.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants