Straight Left Quotation Mark

Thank you ActionScript! All these years of using a keyboard and today I’ve found the answer to a question you never asked. Please, do tell…

Q: What is that thing sharing a key with the tilde?

A: A “straight left quotation mark”.

And your follow up question, naturally…

Q: What the hell is it used for?

A: Funny you should ask. I finally have an answer. Thanks to ActionScript and regular expressions, combine it with a $ and it’ll fetch the portion of a string before the match when searching via regex.

Wow! You learn something new everyday.

$` The portion of the string that precedes the matched substring. This code uses the straight left single quotation mark character (`), not the straight single quotation mark (‘) or the left curly single quotation mark (‘ ).


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s