The single-quote character (')
Questions tagged [apostrophe]
499 questions
1
vote
0 answers
How to deal with variations in apostrophe ’ and '
I am doing an NLP processing and I have tweets with text as I’ll instead of I'll. Same is the case with quotation marks: “God please save us” instead of "God please save us"
My approach in pandas series:
tweets.str.replace(r"’", "'")
I expect other…

Muhammad Mubashirullah Durrani
- 329
- 3
- 16
1
vote
2 answers
How do I create a XAML KeyBinding for CTRL+'
In a WPF MVVM application I need to trigger a command when CTRL+' (control and apostrophe) is pressed. None of the following will compile...

ifinlay
- 621
- 1
- 7
- 24
1
vote
1 answer
Why does apostrophe keep making POST calls to check if user logged in?
There are a bunch of POST calls from the website to the server and I don't know how to turn them off.
2019-10-24T21:24:49.606Z - info: admin already logged in. Passing through...
2019-10-24T21:25:09.767Z - info:…

1housand
- 508
- 7
- 16
1
vote
1 answer
Unable to use INDIRECT formula in VBA due to apostrophe in formula
I am trying to write the following formula in VBA however, since the formula contains an apostrophe, the part after the apostrophe gets commented out. Can anyone help please?
Dim LastcolGen As Long, lastrowfilter As Long
Range(Cells(6, 10),…

user12206869
- 13
- 3
1
vote
1 answer
apostrophe cms - how to add/display an array in widget.html
i'm new in apostophy cms and i got stuck on an array in the widget.html
It's in the div with the class c-podcast__footer-streaming.
This is my widget (index.js):
module.exports = {
extend: 'apostrophe-widgets',
label: 'Musicstream',
addFields: [
…

magvector
- 11
- 2
1
vote
1 answer
Turning keywords into hyperlinks (problem with apostrophes)
I have a script that automatically turns keywords in my Wordpress site into hyperlinks. This works well, however one of the keywords I want hyperlinked has an apostrophe in it - and the code won't process the keyword.
I've tried:
"'Key\'word2' =>…

Sam West
- 21
- 1
- 4
1
vote
1 answer
2 problems in axis format date Google charts
I'm trying to format the date on the axis like this: May '18. My formatting looks like this: 'MMM \' yy'. I have 2 problems:
1. What should I do to make the first letter of the month capitalized? Do I need to generate ticks to achieve this?
2. There…

mkielb
- 15
- 3
1
vote
0 answers
Apostrophe contained within XML returned from a webservice
I am consuming a web service that has an apostrophe contained within the namespace, which is causing problems for simplexml.
eg. xmlns="Apostrophe's here/Foo/Bar"
I've tried addslashes but it doesn't seem to work because the string has already been…

bcmcfc
- 25,966
- 29
- 109
- 181
1
vote
1 answer
Replace junk character apostrophe using regex
All the apostrophe in my HTML is being converted to junk by the UI engine. I need to create a regex with below pattern to replace the string in Java.
The specific pattern is needed because the some characters are displayed as junk from the HTML. …

Riju Mahna
- 6,718
- 12
- 52
- 91
1
vote
1 answer
Full text search in MySQL - multiple search terms, partial search terms, with apostrophe, without apostrophe
I am having an issue with a full text search that allows the user enter:-
multiple search terms
multiple partial terms
search terms with apostrophes
search terms without apostrophes
I have the search working for all but one instance - when the…

user10342633
- 11
- 1
1
vote
2 answers
Encoding URL vars in HREF versus onclick using JS window.location
I don't know why this link does not work, but I have a Javascript redirect (window.opener.location) that I am passing a number of variables through the URL and am having issues when those variables contain apostrophes. I am using URLENCODE() in PHP…

Jon Koerber
- 33
- 7
1
vote
1 answer
In a project created using apostrophe create-project in Ubuntu 18.04, npm install fails
npm ERR! registry error parsing json
npm ERR! registry error parsing json
npm ERR! registry error parsing json
npm ERR! fetch failed https://registry.npmjs.org/less/-/less-3.8.1.tgz
npm WARN retry will retry, error on last attempt: Error: fetch…

dhiraka
- 817
- 6
- 13
1
vote
0 answers
Apostrophe CMS + Express.js Backend + Angular integration
I've been trying to integrate Apostrophe CMS with a CRM platform that we have running on a node.js+express.js backend, but am finding it a bit difficult.
I'll detail the setup before asking:
We have two parallel platforms: client-cms and…

Jon Herrera
- 97
- 8
1
vote
1 answer
Default value for images in apostrophe cms?
I have a custom widget:
module.exports = {
extend: 'apostrophe-widgets',
label: 'Banner',
addFields: [
{
name: 'bannerImg',
type: 'attachment',
label: 'Picture',
def:…

zemil
- 3,235
- 2
- 24
- 33
1
vote
3 answers
Apostrophe and Javascript / PHP
Right now I have this for my javascript code
'title': '=$name?>',
The thing is, occasionally $name will have an apostrophe in it, and can have the code look something like this
'title': 'Bon Jovi It's My Life - Bon Jovi',
which essentially…

Belgin Fish
- 19,187
- 41
- 102
- 131