4,668 questions
1
vote
4
answers
93
views
Generate all versions of a string with each letter replaced by a wildcard (?) once in bash
I am using grep to look for strings (sequences) in a fastq-file and extract matching reads (lines).
Since grep only finds perfect patterns, I was wondering whether it is possible in bash to generate a ...
1
vote
1
answer
144
views
How can I copy a single file whose name includes wildcard characters without listing the entire directory?
I'm using the WinSCP C# library. How can I copy a single file whose name includes wildcard characters (e.g., [Hospital1]_0001.txt) without WinSCP listing or scanning the entire directory?
session....
0
votes
1
answer
59
views
Snakemake wildcards (official documentation)
I'm following the Snakemake tutorial from what I gather it's the official documentation. After having downloaded the tools in the setup phase I am stuck in understunding the wildcard use in step 2, ...
1
vote
1
answer
81
views
How can I use wildcard paths from a Pandas dataframe as required rule inputs and outputs in Snakemake?
I have a Snakemake pipeline (https://github.com/V-Varga/SPOT-BGC/tree/main), where I generate input and output file names for various intermediate steps using wildcards that refer back to file and ...
2
votes
1
answer
188
views
Snakemake wildcard issues using touch() to avoid premature pipeline progression
I have written a bioinformatics pipeline (https://github.com/V-Varga/SPOT-BGC/tree/main) in Snakemake. While it is has been functional until now, one of the datasets I have tried to use it on is ...
1
vote
0
answers
23
views
Using agTextColumnFilter 'Contains' on long description is fast unless ag grid has an already active filter
I have a large result set (10k rows) and when using the agTextColumnFilter on a 'description' field of text, the Contains filter is almost instant when clicking 'Apply'.
However, when I pick from ...
5
votes
1
answer
122
views
Are wildcards in tests always faster?
Testing with Bash specifically, I tried using wildcards (as if it was a case statement):
[[ ${var@a} == *"A"* ]]
It surprisingly (to me) works, but it's uglier than a regex. Then I compared ...
0
votes
0
answers
27
views
Sum of vlookups with a partial match: What is the formula, if it exists?
I'm trying to see if this is even possible. I am essentially trying to get a partial match vlookup with the added component of possibly a sumifs formula to get the total amount of pay for each store.
...
1
vote
3
answers
116
views
Using an array to filter a table using more than two wildcard criteria: some values are missed
I need to filter a column in a large table using more than 2 criteria that include wildcards (*).
The table should show only rows where column A contains "VMI" and/or "PRIORITY" ...
1
vote
0
answers
104
views
Why is SonarCloud `reportPaths` property not receiving wildcards?
According to the Sonar Cloud Documentation it is possible to use wildcards in the sonar.javascript.lcov.reportPaths following the Test Coverage parameters guideline for wildcards. However, when trying ...
1
vote
0
answers
42
views
dynamic wildcard is not working with load_table_from_uri
I was trying to load multiple gcs files to bigquery via Airflow using api load_table_from_uri
uri="gs://b5a34db6ab213379-eu-pm-test-uat-data-ingest-temp/test_pm_cm_data/"+str(run_id).strip()+...
0
votes
1
answer
74
views
Find and Replace using wildcard in VIM or VI [closed]
I have a file with numbered host names. I want to change the name while preserving the numbers.
CHANGE THIS:
server1.domain.com
server2.domain.com
server3.domain.com
server4.domain.com
server1....
2
votes
0
answers
50
views
mixing static and dynamic callbacks with Dash - how to pass triggers between them
I am trying to build a dash asp that generates a main page from which I can click and generate multiple dynamic pages. When I perform an operation on a dynamic page, I want to pass back a trigger to ...
1
vote
0
answers
110
views
Git sometimes disregards wildcards in pathspecs if a file name matches exactly
While writing a script I encountered a weird bug(?) in Git.
It seems that the command git add ignores wildcards in pathspec if the pathspec exactly matches a file name that is not added yet.
git init
...
0
votes
1
answer
44
views
Power BI Wildcard in SWITCH function
I have a custom column at present which works great:
MonthOrder = SWITCH([DateText],"Apr-2024", 1, "May-2024", 2, "Jun-2024", 3, "Jul-2024", 4,"Aug-2024&...
1
vote
2
answers
79
views
Deployed app returns 404 instead redirect to specified component
I have configured my Angular 19 routes according to the angular.dev and it works as expected on localhost. However once I build and deploy my app behaviour of redirecting with wildcard is not working ...
0
votes
0
answers
17
views
Lucene.NET StandardAnalyzer Not Matching Tokens for Wildcard Queries
Question:
I am working on a search functionality using Lucene.NET with the StandardAnalyzer, and I noticed an issue with wildcard queries not matching expected results.
Issue:
My indexed field ...
-1
votes
1
answer
74
views
Using wildcards in JavaScript [duplicate]
I'm writing a program which generates random letters and determines if there exists a word containing those letters in the order they're generated.
No matter which letters are generated, the program ...
3
votes
2
answers
78
views
Postgresql delay in queries using wildcard '%searchTerm%' in large set database
Currently, I have the follow real use case challenge.
Library admins want to search for books in their library database using book and category names. Their database has over 2 million book records, ...
-2
votes
2
answers
91
views
Excel TextSplit a range and COUNTIF - with wildcards [closed]
My question builds on this previous post: Excel TextSplit a range and countif
I have a very similar use case, except that the values I'm trying to match may have numbers at the end, like A1, A2, CR3, ...
0
votes
0
answers
36
views
need to know how use a wildcard output with Spidev -> io::Result in Rust
Would be grateful for some help here with my Rust code! I'm trying to set up the MCP 3002 SPI chip with the
raspberry pi 5 using the spidev crate, to show the output from the MCP3002 on an egui screen....
0
votes
1
answer
352
views
Filter Xmatch with Wildcard
I want to filter an array (a single line) using XMATCH to return columns based on wildcard criteria.
I am able to create the formula without XMATCH wildcards.
XMATCH with wildcard (exchanged order of ...
1
vote
2
answers
125
views
Docker equivalent of cd /some/th*ng using WORKDIR (wildcard change directory)
In BASH we can change directory to an unknown name, using a * as a wildcard - for example:
cd /some/*ing will change directory to cd /some/thing/ (if there is only 1 match for the wildcard)
How can we ...
-1
votes
2
answers
46
views
Wildcard javascript url redirect
Can't use htaccess, so have to rely on javascript.
Say the url is example.com/page1/page2/page3/ and I want to redirect this to example.com/page4/page3/ how would I do this? (and have this work for ...
0
votes
0
answers
12
views
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'webflow:flow-registry'
My Dispatcher-servlet.xml
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'webflow:flow-registry'
getting this error
I am new to Java and spring ...
1
vote
1
answer
66
views
Snakemake expand a string saved in a variable
My question is very simple, but I can't find how to do it in the Snakemake documentation.
Let's say I have a very long string to expand, like :
rule all:
input:
expand("sim_files/test_nGen{ngen}...
0
votes
1
answer
41
views
Error when using expand with Snakemake wildcards to aggregate across samples
I want to write a snakemake rule that aggregates across wildcards to produce a summary of all samples. It seems like a very simple case to me, but I cannot figure out the syntax error I am getting.
I ...
3
votes
1
answer
3k
views
How to configure allowed hosts with subdomain wildcard matching in Vite?
In Webpack, I can configure allowed hosts with subdomain wildcard matching using the allowedHosts option like this:
allowedHosts: ['.host.com', 'host2.com']
This configuration allows:
host2.com
Any ...
2
votes
1
answer
930
views
Unable to find the Wildcard directive in my CSP
I conducted a ZAP assessment on my application, I received a flag 'CSP: Wildcard Directive' which has high confidence level. Still, I have not been able to locate the source of the wildcard directive. ...
0
votes
1
answer
60
views
Changing embedded text in Notepad++
Good morning. I have a situation where I need to replace a keyword that may be anywhere on a line. The catch is that I need to add a comment line above. If the keyword is at the start of the line, I ...
0
votes
1
answer
73
views
Which wildcard characters should I use?
Please help
"string_mod_4"
John Morgen A1
Ali Zayas
Jennifer Benz A2
Desmond Michael Hall A3
Erik Remar
...
At the end of the text, I cannot remove 'A1', 'A2', etc.
they do not work
Replace(...
0
votes
1
answer
40
views
using write.table function in R with sprintf with a wildcard
I want to save a .txt file using write.table in R. The file needs to utilize placeholders and wildcards.
I have successfully used a for loop and the sprintf command to loop through subjects and save ...
1
vote
1
answer
90
views
Is there some way to get the effect of LOW_PRIORITY for select in MySQL?
I read mysql document and find for insert there is a LOW_PRIORITY switch while for select there is a HIGH_PRIORITY.
I need a "LOW_PRIORITY" (so to speak) for some of my slow query. For ...
0
votes
1
answer
64
views
nginx forward wildcard urls
Can someone help me with how to set up an nginx forward that does the following:
This is what I have so far. I was going to adapt it but to be honest I can't get off the ground
location ~* ^/pdf/(.*)$ ...
1
vote
2
answers
94
views
How to match specific files with a shell pattern in unit test discoverer?
I want to run a suite of unit tests. The basic code is:
suite = unittest.defaultTestLoader.discover('tests')
The documentation for the function mentions the pattern argument, which defaults to test_*....
-1
votes
1
answer
48
views
How to pair up the same strings in two table where in one of them they have a '?' replacing some of the characters?
I have names of people in a table as primary keys and I have them in another as foreign keys except in this second table they have been occasionally recorded faultily, with a '?' symbol replacing a ...
0
votes
1
answer
90
views
UPDATE To Value found with LIKE Command Search with Wildcards [duplicate]
In SSMS my search query is
SELECT *
FROM TABLE
WHERE FIELD LIKE '%AAA [0-9][0-9][0-9][0-9]%'
AND FIELD2 IN ('VALUE2', 'VALUE3', 'VALUE4')
I need my update statement to set the column to the found ...
1
vote
0
answers
14
views
How to mention wild characters in karate scenario tags [duplicate]
I've a requirement of executing multiple scenarios with the tags of SL_1, SL_2, SL_3 and so on is it possible to execute SL_*.
I've tried with -Dcucumber options = --tags@SL_* it executed all the ...
0
votes
3
answers
167
views
Ignore file extension except in a specific directory in `.gitignore` [closed]
In my repository, I have scripts that generate loads of .json files, that I want to ignore, so I have *.json in .gitignore. But I have one directory config containing .json files and I want those to ...
0
votes
0
answers
74
views
Powershell : Replace text in word with wildcard
I have a powershell script that replace words in MS Word files :
$WordFiles = Get-ChildItem -Recurse | ? Name -like "*.do[c,t]*"
$word = New-Object -ComObject Word.Application
$word.Visible ...
1
vote
2
answers
73
views
Vba moving files form a to b via fso object
I have a list of beginnings of filesnames in excel ,
I want to make a macro that will move them from one defined directory to the other
The file name are named like this AAAAXXX
AAAA- are unique ...
0
votes
1
answer
85
views
Modify a data of a cardview through c# code
I simplify everything to better focus the problem
this is the page that displays the cardview
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://...
1
vote
2
answers
211
views
Meaning of words "in" and "out" in Kotlin generics
I learn kotlin generics but naming makes me crazy.
Let consider 2 code snippets in java and in Kotlin which do the same job:
1. java
public void copy(List<? extends Number> from, List<? ...
0
votes
1
answer
69
views
wildcards and regular expression in snakemake
I'm trying to create wildcards with some folders/directories names that are ouputed from rule ReferenceDatabase that created the "Campylobacter/Gene_Flow/ReferenceDatabase/{dirname}" folder (...
0
votes
4
answers
4k
views
Excel GroupBy Function Filter Array
=GROUPBY(row_fields, values, function, [field Headers], [total_depth], [sort order], [**filter_array**], [field relationship])
I would like to use the FILTER ARRAY for search and group partial text ...
0
votes
1
answer
109
views
Unexpected behavior with MQTT shared subscriptions using specific topics and wildcards
I'm experiencing unexpected behavior with MQTT shared subscriptions. Here's the scenario:
I have two MQTT subscribers:
Subscriber A: subscribes to "$share/group/1234/test/A"
Subscriber B: ...
2
votes
2
answers
100
views
How can I set a numeric wildcard in MySQL? [duplicate]
I'm trying to create a SQL script that finds codes in two different databases. I want to set a parameter that has a numeric wildcard.
Codes are often written like this for example, ABC108, ABC109, ...
-1
votes
1
answer
158
views
How is Collection<Object> NOT a supertype of all kinds of collections? [duplicate]
I am studying Wildcards from Oracle's documentation, and I can't understand the following section:
*Consider the problem of writing a routine that prints out all the elements in a collection. Here's ...
2
votes
1
answer
41
views
Oracle SQL pattern matching using wildcards
I'm trying to search though a large list of postal codes in various countries
Specifically, I want to identify all Canadian entries USING A CASE STATEMENT.
after all spaces have been stripped out, ...
0
votes
0
answers
53
views
Missing Output Exception Error in Snakemake with output directory modified
I'm trying to run a workflow on snakemake. I have to automate a couple of steps which are depending all on python scripts or pipelines already made. My rule Gene_flow_between _species has to run once ...