redhat-developer / redhat-developer/vscode-yaml
incorrect error with regex in ansible
Open
Nobody has claimed this yet.
schema_issue
- Dominant language
- TypeScript
- Stars
- 829
- Forks
- 260
- Avg merge
- 5h 43m
- Merged PRs (30d)
- 1
Description
Hi,
I'm using vscode and this extension (version 0.11.1) and I'm using it on a project using ansible yaml files.
Some configuration are supposed to get regex strings as values (for instance insertafter from lineinfile ) and I get an error there

I'm not sure how to remove these
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the error in the VS Code YAML extension using the reported version, an Ansible YAML file, and a regex value such as lineinfile's insertafter. Compare the diagnostic with the screenshot and verify that valid regex strings no longer produce an error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vscode, yaml
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100