Devs268 Devs268
  • 25-06-2017
  • Mathematics
contestada

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

Respuesta :

mathmate
mathmate mathmate
  • 25-06-2017
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]
Answer Link

Otras preguntas

Carmen has a deck of cards numbered 1-10. She picks one card and flips a coin. How many outcomes are possible.
!!!!!!!!PLEASE HELP!!!!!!!!!!!!!!!!!Why are rivers still able to flow during drought??????????
What is not a requirement of a valid marriage? A. license application B. ceremony performed by a pastor C. blood test D. recorded license Employers must comply
A researcher has a hypothesis that creativity is increased by exposure to art in kindergarten. If the researcher designs an experiment to test this, what would
Name a point that is the square root of 2 away from(-1,5)
Complete the square and give a substitution (not necessarily trigonometric) which could be used to compute the integral. ∫1x2+2x+2dx
Find the x and y intercepts of the line 8y=2x-4
I have 30 teeth. Ten percent of my teeth have fillings in them. How many of my teeth have fillings?
Immunotherapy is used to treat cancer clients by enhancing their immune system. What nutritional imbalances can be caused by immunotherapy?
Select the correct text in the passage. Which line in this excerpt from The Still Alarm by George S. Kaufman demonstrates the use of understatement? ED (follows