1,041 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
3
votes
2
answers
145
views
Splitting a mathematical string into a list while keeping everything in matching brackets together
I am trying to get any mathematical string to split into a list by operators (i.e. "+", "-", "/", "*"), while keeping anything in a matching number of brackets ...
0
votes
0
answers
27
views
Visual studio templates angle brackets indentation
how do I get visual studio to add indentation so that this
using TExample = MyClassA<
MyClassB<
MyClassC,
MyClassD>,
MyClassE>;
is formatted by VS to
using TExample = ...
21
votes
3
answers
1k
views
Why Does R Allow Omitting {} in Function Definitions?
I have a question regarding R function syntax. I've noticed that the following function works fine without curly braces {}:
sign_function <- function(x)
if (x > 0) "Positive" else ...
0
votes
1
answer
118
views
Run MATLAB cells in Visual Studio code
Mathworks did not add some basic features as single cell run in visual studio code. You can run all the code or run selection. But there is no way to run current cell. The cells are divided by %%. Is ...
2
votes
2
answers
107
views
Why do parentheses affect multiple-argument unpacking?
The string:find method in Lua can return multiple values: the start of the match and the end. I can then use unpacking to assign the start and the end to separate variables.
> text = 'ciao pollo ...
0
votes
0
answers
45
views
How to add a Defined Name with square brackets ([]) in ExcelJS?
I am using ExcelJS to create an Excel file and want to add a Defined Name that references a table column. However, when I try to add a name with square brackets ([]), it does not work.
Here is my code:...
0
votes
1
answer
99
views
PHPWord bracket causes rendered Word document to be un-openable
Using PHPWord, I've managed with this line:
$section->addText('<');
to provoke an Error in Microsoft Word opening the .docx file:
+---------------------------------------------------------------...
0
votes
0
answers
29
views
Interpret markdown tags when using kableExtra::collapse_rows
I am creating a PDF document using R Markdown. I would like to format some texts within a cell, and also have the possibility of collapsing equal cells within the same row.
I am using the following ...
1
vote
0
answers
52
views
How to prevent punctuation marks (dots, commas) from going to new line? [duplicate]
How to stop commas, dots, brackets, etc. from going to new line?
They need to stay on the same line with the content that is immediately before them.
The svg is inserted with jQuery after the document ...
0
votes
1
answer
56
views
How to configure the brackets editor so that it displays the maximum number of columns allowed in the editor
I am using Brackets Release 2.2.0-17942 installed on MacBook Air. The same version was working correctly and could edit a file with the maximum number of columns, and could display the file with the ...
2
votes
3
answers
133
views
Do brackets have effect during array of pointers declaration?
Recently I was reading "The C programming language" text book by Brain and Dennis and encountered that there is a difference between the pointer array definitions shown below:
int (*a)[10];
...
0
votes
1
answer
88
views
How to gnuplot csv file with data columns including square brackets
I have large datafile in csv format.
#data and time, id, volt, temp
2024年04月11日 18:15:11,1,[3100,3295,...,3120],[29,27,...,30]
2024年04月11日 18:15:11,4,[3100,3295,...,3120],[29,27,...,30]
2024年04月11日 18:15:...
1
vote
1
answer
92
views
The role of brackets in SQL query?
What is the role of brackets in the below query? Square brackets and backticks are used to escape the keywords in SQL queries but I could not find a proper explanation for using brackets.
SELECT (...
0
votes
3
answers
144
views
Remove square matching brackets but only those which do not have a white space inside bracket
Having looked at this answer: Remove square brackets if content within the square bracket does not contain spaces
This works fine for Notepad++ but when I take the Notepad++ solution and put it in C# ...
1
vote
1
answer
96
views
Any placeholder rules or keybinding commands to select a pair of characters in vscode?
{
"key": "cmd+;",
"command": "editor.action.insertSnippet",
"when": "editorTextFocus && !editorReadonly",
"args&...