Ask Question
17 December, 04:44

Using wildcard metacharacters, how can one indicate a number is either 1, 2, 3, or 4?

+1
Answers (1)
  1. 17 December, 05:02
    0
    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]
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Using wildcard metacharacters, how can one indicate a number is either 1, 2, 3, or 4? ...” in 📗 Mathematics if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers