bash-parser icon indicating copy to clipboard operation
bash-parser copied to clipboard

Unable to parse C-style encoded strings: $'foo'

Open cspotcode opened this issue 6 years ago • 0 comments

https://runkit.com/cspotcode/5d6dbd91909e38001b72c4b7

bash can encode string literals like this: $'foo'

For example, printf %q foo$'\n'bar will choose to encode in this style: $'foo\nbar'

bash-parser doesn't seem to parse this.

cspotcode avatar Sep 03 '19 01:09 cspotcode