Question: SUPPERID = strings that are ID ( see below ) and that have supper as prefix. For example, supper 1 2 3 , supper ,

SUPPERID = strings that are ID (see below) and that have supper as prefix. For example, supper123,supper,supperabc are SUPPERID, but supper_ is not SUPPERID because supper_ is not an ID
ID = Set of strings that consist of a letter or underscore that is followed by zero or more letters and/or digits. For example, _,_11,_1a1b are IDs, but __ and a_ are not IDs according to this definition
CRAZYID = Set of strings that consist of an ID followed by _crazy. For example, a_crazy is a CRAZYID, but a_CRAZY,acrazy and a__crazy(two underscores) are not a CRAZYID
NUM = Set of strings that consist of a non-zero digit that is followed by 1 or more digits or the string 0.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!