Parsing of image substitution incomplete
See original GitHub issueThis is related to #23 in the sense that the symptom is that replacements don’t work.
The regex used to parse an image identifier in the yaml is const imageKeyword = line.match(/^ *image:/);
.
I had an issue where it was not working for me, because I had a config like this:
..
containers:
- image: test
name: test
Which isn’t correctly parsed by the regex.
The clean solution would be to use a real yaml parser, but an ugly quick fix could be to allow for this case.
If you want to have the quick fix I can make a PR, just let me know.
The correct regex is: /^ *(?:- )?image:/
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Learning to Parse Images - Computer Science
The parse trees describe the segmentations of the image at every level of granularity, from individual pixels to the whole image.
Read more >Non-parametric scene parsing: Label transfer methods and ...
Scene parsing is the problem of densely labeling every pixel in an image with a meaningful class label. Driven by powerful methods, remarkable...
Read more >populate image array with parse in swift - xcode - Stack Overflow
Hi I'm new with swift and parse.com, I'm trying do populate my array with already saved images in parse, try to use the...
Read more >Error while generating variables data set "Could not parse ...
... cards the errors occur "could not parse the file contents as a d. ... incomplete " and "Could not export dataset because...
Read more >Responsive images - web.dev
A picture is worth 1000 words, and images play an integral part of every ... JavaScript image replacement checks the capabilities of the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Cool. Tag @shigupt202 in your PR so he can take it forward. 😃
That’s a good catch. @SamMousa would you be willing to raise a fix for the same?