Top "Quotes" questions

Computer programming languages' facility for embedding text in source code, also known as String literals

Extracting strings in Python in either single or double quotes

I need help with a Python regex to extract strings either inside single or double quoted. I found a solution …

python regex string quotes findall
Why are some object-literal properties quoted and others not?

I see this all the time: object literals declared such that some keys are surrounded with quotes and others are …

javascript json quotes object-literal
using htmlspecialchars in value attribute of text input

My question is similar to this question but I'm not using code igniter. I'm echoing variables obtained from a database …

php attributes escaping quotes htmlspecialchars
using PLINK to Send a remote command with single and double quotes

I'm trying to use plink on winXP to connect to a linux server and execute a command. Here's the command …

whitespace quotes double-quotes plink
Grep error due to expanding variables with spaces

I have a file called "physics 1b.sh". In bash, if I try x="physics 1b" grep "string" "$x".sh …

bash grep double quotes variable-expansion
Handling quotes with FileHelpers

I'm using the excellent FileHelpers library to import many csv files, but run into a problem. I have a csv …

csv import quotes filehelpers
Properly handling spaces and quotes in bash completion

What is the correct/best way of handling spaces and quotes in bash completion? Here’s a simple example. I …

bash autocomplete escaping eval quotes
How do I combine an if/else expression with angular translate inside an attribute?

I'm using an if/else expression and a translation of the possible values inside the placeholder-Tag of an HTML input-element. …

angularjs nested quotes placeholder angular-translate
HTML5: which is better - using a character entity vs using a character directly?

I've recently noticed a lot of high profile sites using characters directly in their source, eg: <q>“Hi …

html unicode character-encoding quotes entities