1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
julsineya [31]
3 years ago
12

What is a regular expression that would match any digit 1-999?

Computers and Technology
1 answer:
Aneli [31]3 years ago
8 0

Answer:

[1-9][0-9]{0,2}

Explanation:

The numbers to be matched consist of three digits with the following requirements:

- Digit 1 can take the values 1-9

- Digit 2 can take the values 0-9

- Digit 3 can take the values 0-9

- Digits 2 and 3 are optional, that is the number may consist of 1,2 or 3 digits in all.

Taking these into account, the overall regular expression can be represented as follows:

[1-9][0-9]{0,2}

You might be interested in
An exact-match query is:
Greeley [361]

Answer:

C. Where a record is returned if its unique identifier matches the search value

Explanation:

Exact match is a Google keyword match type that allows you show your adverts when searcher type the exact word or phrase you are bidding on. An exact match query will always return records that matches what is being searched on.

5 0
3 years ago
Clunker Motors Inc. is recalling all vehicles from model years 1995-1998 and 2004-2006.Given a variable modelYear write a statem
Dominik [7]

Answer:

Following are the statement is given below

recalled = (modelYear >= 2001) && (modelYear <= 2006);                         // holding the value true if condition is true.

Explanation:

Following are the description of above statement                                                                                              

  • Declared a variable recalled of Boolean type .
  • The variable modelYear examine the above condition .
  • The variable recalled holds true if modelYear is greater then or equal 2001 and modelYear is less then or equal to 2006 otherwise if following condition is false then this variable holds False .
5 0
4 years ago
A _____ is an Access database object that allows you to arrange the fields of a record in any layout so you can enter, edit, and
MrRissso [65]

A form is an access database object that allows you to arrange the fields of a record in any layout so you can enter, edit, and delete records.

4 0
3 years ago
Qbasic program to check whether an entered number is positive or negative or neutral​
igor_vitrenko [27]

Answer:

CLS

INPUT "Enter a number: ",N

IF N > 0 THEN

PRINT "The number is Positive."

ELSEIF N < 0 THEN

PRINT "The number is Negative."

ELSE

PRINT "The number is Zero."

END IF

END

7 0
3 years ago
Tristan has moved the Television and related equipment
madreJ [45]

Answer:

1: C

2: B

3: A

Explanation:

6 0
3 years ago
Other questions:
  • 1. Which of the following are considered CAD powerhouses?
    6·1 answer
  • Reflexes are basically "hard-wired" into the CNS. Anatomically, the basis of a reflex is an afferent neuron that synapses direct
    10·1 answer
  • On five lane roadways, the center lane is designated for __________ and is used by vehicles traveling in both directions.
    14·1 answer
  • What does limited access to a document mean?
    12·2 answers
  • Write the definition of a function named printstarbucks that receives a non-negative integer n and prints a line consisting of n
    6·1 answer
  • Write a function named word_count that accepts a string as its parameter and returns the number of words in the string. A word i
    10·1 answer
  • Which of the following is not a valid SQL command? (Points : 2) UPDATE acctmanager SET amedate = SYSDATE WHERE amid = 'J500';
    11·1 answer
  • Which of the following factors will have the greatest impact on your credit score? I. Length of Credit History II. Payment Histo
    6·2 answers
  • What are possible penalties if a designer is caught breaking copyright laws?
    13·1 answer
  • Which results are expected in a personality test but not a skills assessment?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!