Questions tagged [wildcard]

A wildcard character is a specially defined character allowing for substitution of any other character, including a pattern or sequence of characters. Use this tag for questions on how to use wildcards for regular expressions, shell scripting, string manipulation and database control, but not for use in terminal commands as that is off-topic.

A wildcard character is a special character defined by many different systems/programming languages with each their own specific implementations. They may allow for accessing single characters, sets of characters or all characters matching a certain regex pattern.

Examples include :

* - Any sequence of characters. (DOS/Unix)
? - Any single character. (DOS/Unix)
% - Zero or more characters. (SQL)
# - Matches a single numeral. (SQL)
. - Matches a single character. (Regular Expressions)

4611 questions
1
vote
1 answer

Reading parquet files in GCP using wildcards in spark

I am trying to read parquet files using spark, if I want to read the data for June, I'll do the following: "gs://bucket/Data/year=2021/month=6/file.parquet" if I want to read the data for all the months, I'll do the…
Riolite
  • 101
  • 1
  • 7
1
vote
1 answer

Conceptual question about casting objects using wildcard generics

I am trying to understand why the compiler treats objects (using wildcard generics) being inline declared differently then objects being first set to an variable. See the following example: public class SillyTest{ interface A {} …
345094
  • 33
  • 3
1
vote
2 answers

Making a movie out of pictures in correct order

Short version How can one combine files img1000.png, img5000.png, img10000.png, img11000.png in the right order into a movie? Longer version I am using ffmpeg to make a movie out of snapshots of a simulation. There should be for instance 5 images…
astrogab
  • 21
  • 5
1
vote
1 answer

Alfresco - advanced search gives 0 results when using the wildcard(*) with the text value

For custom document type when I use advanced search for searching the particular documents that have same custom property, with writing complete property value in advanced search gives expected result(list of documents that have the same property)…
1
vote
4 answers

Performing a wildcard search

I have a search where I use LINQ with EF. When ever the search criteria are null or empty I need to return everything. Currently I've used if conditions as a solution. and from that I moved to a solution like this. data = data .Where(p =>…
Hashan S.
  • 11
  • 2
1
vote
1 answer

Windows command line wildcard expansion order

When you issue the following copy with concatenation command in Windows: copy /b *.txt elsewhere\all.txt Is there any way to control the order of source files? A quick test suggests alphabetic sorting, but is there any guarantee?
Seva Alekseyev
  • 59,826
  • 25
  • 160
  • 281
1
vote
2 answers

Replacing a string with a variable in Get-ADGroup

I'm trying to use PowerShell to search AD for Group Names. Why don't either of these work, the param or the Read-Host? Both are passing strings, but the results are empty. However, if I replace the variable $ADGroup in the command with an actual…
1
vote
4 answers

Ignore character in Regex Python?

I want to find all phone numbers that start with a "0" and are followed by 10 digits. r1=re.search('^[0]+\d{10}',i) However, some of them are written as "01-234-567-8-90", which technically is a 0 followed by 10 digits, but it has dashes in it. When…
Cezar Prodan
  • 100
  • 6
1
vote
1 answer

How to use LIKE operator with wildcards in query in MS-Access using c#

I am using MS Access database in my C# app, where I need to pass parameterized-like query. I came around various documents saying we can use "*" or "?" as wildcards. But when i try to add it to my query it throws exception. Actually MSAccess uses…
user240141
1
vote
0 answers

SSL for Subdomain of a Wildcard Subdomain

My app needs to support company-based domain name, such as acme.domain.tld. Moreover, it would also have several services running such as login.acme.domain.tld, account.acme.domain.tld (to maintain same-origin COOKIE policy). It is generally known…
hiro
  • 261
  • 7
  • 19
1
vote
3 answers

SQL 'WHERE' retrieve all data from a filter

With this query: SELECT * FROM table1 WHERE name = 'Peter' I can retrieve all data from Peter from table1. This can be done with the "Wildcard *". Question Is there any kind of wildcard for the WHERE part? For example: SELECT * FROM table1…
1
vote
1 answer

PSQL: Easy way to batch select queries

If you have table A with n columns, and a list of values with m columns where m is a subset of n, how do you query the table with one SQL statement, instead of multiple queries? Example: users table has 4 columns: id, name, ip, email Example Query: …
1
vote
1 answer

Messages not consumed when using wildcard queues in ActiveMQ Artemis

If I create queues on ActiveMQ Artemis test.A and a wildcard queue test.# then I can send a message to test.A and it will also be delivered to test.#. However, I am surprised to learn that when I consume the message from test.# then the message is…
Lasse L
  • 1,278
  • 1
  • 9
  • 14
1
vote
1 answer

Wildcard Subdomains to pass subdomain value to a script

I have a project im working on, when a user tries to accesses x.website.com it would show results for a specific state, how would I go about this without making 52 subdomains manually? Is there a way to do it with htaccess? but this should also…
Saulius Antanavicius
  • 1,371
  • 6
  • 25
  • 55
1
vote
0 answers

Elasticsearch: exclude word from wildcard search but without excluding the complete document

Currently I'm facing a seemingly simple job, that doesn't seem to be so simple... While trying to query documents with elastic search, I want to prevent certain words from being a query-hit BUT not exclude the whole document if other words in the…
CN91
  • 11
  • 2
1 2 3
99
100