menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
Using wildcard metacharacters, how can one indicate a number is either 1, 2, 3, or 4?
asked
Nov 17, 2018
381
views
2
votes
Using wildcard metacharacters, how can one indicate a number is either 1, 2, 3, or 4?
Mathematics
college
Justine
asked
by
Justine
8.4k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
2
votes
using the current "regular expressions" in use in Java, Perl, and many other applications, this belongs to "character class" using the [ ] notation.
For characters "either" 1,2,3,4, we write
[1234]
or in this particular case,
[1-4]
Hgl
answered
Nov 23, 2018
by
Hgl
8.2k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
May 17, 2024
119k
views
Using wildcard metacharacters, how can you indicate a character that is not a or b or c or d? a. [^abcd] b. not [a-d] c. [!a-d] d. !a-d
Binarian
asked
May 17, 2024
by
Binarian
7.5k
points
Computers and Technology
high-school
1
answer
0
votes
119k
views
asked
Sep 5, 2021
165k
views
What ftp command uploads the filename from the current directory on the local computer to the current directory on the remote computer, and allows the use of wildcard metacharacters to specify the filename.
Catasaurus
asked
Sep 5, 2021
by
Catasaurus
8.7k
points
Computers and Technology
high-school
1
answer
3
votes
165k
views
asked
Apr 14, 2024
70.6k
views
Why should you always enclose your `grep` search pattern in single quotes? (e.g. `grep -v '\?*' file` as opposed to `grep -v \?* file`) a. Some shell metacharacters are also regular expression characters,
Digvijay
asked
Apr 14, 2024
by
Digvijay
8.1k
points
Engineering
high-school
1
answer
3
votes
70.6k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.5m
questions
12.2m
answers
Other Questions
How do you can you solve this problem 37 + y = 87; y =
What is .725 as a fraction
How do you estimate of 4 5/8 X 1/3
i have a field 60m long and 110 wide going to be paved i ordered 660000000cm cubed of cement how thick must the cement be to cover field
Write words to match the expression. 24- ( 6+3)
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org