Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Program that takes 2 string parameters from the command line. Verify if the second string is a substring of the first string (without use substr, substring or any other standard function including regular expression libraries).

Each occurrence of * in the second substring means that it can be a match for zero or more characters of the first string.

Consider the example: Input string 1: abcd Input string 2: a*c Program evaluate that the string 2 is a substring of the string 1.

Additionally asterisk () may be considered as a regular character, if it is preceded by a backslash (). Backslash () is considered as a regular character in all cases other than preceding the asterisk ().

About

Program that takes 2 string parameters from the command line. Verify if the second string is a substring of the first string (without use substr, substring or any other standard function including regular expression libraries)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages