We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
\$
via facebook/create-react-app#3961
Escaping a string with \$ works fine when it occurs at the start of the string, but not anywhere else within the string.
Example:
MYVAR=\$bar.baz <- works as expected, value is "$bar.baz" MYVAR=foo\$bar.baz <- I'd expect "foo$bar.baz" but I get "foo\.baz"
MYVAR=\$bar.baz
"$bar.baz"
MYVAR=foo\$bar.baz
"foo$bar.baz"
"foo\.baz"
I also tried working around the problem, like so:
BAR=\$bar MYVAR=foo$BAR.baz
But it gave the same result of "foo\.baz"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
via facebook/create-react-app#3961
Escaping a string with
\$
works fine when it occurs at the start of the string, but not anywhere else within the string.Example:
MYVAR=\$bar.baz
<- works as expected, value is"$bar.baz"
MYVAR=foo\$bar.baz
<- I'd expect"foo$bar.baz"
but I get"foo\.baz"
I also tried working around the problem, like so:
But it gave the same result of
"foo\.baz"
The text was updated successfully, but these errors were encountered: