[GREP][#NY8] it should have input like "dog" to check pattern "dogs?"

this can make it more challenging to do

Hey @KMohZaid, thanks for the suggestion! Would you mind elaborating a bit on why you think we should add “dog” to check the pattern “dogs”?

For reference, here are our current test cases:

		{
			Pattern:          "ca?t",
			Input:            "cat",
			ExpectedExitCode: 0,
		},
		{
			Pattern:          "ca?t",
			Input:            "act",
			ExpectedExitCode: 0,
		},
		{
			Pattern:          "ca?t",
			Input:            "dog",
			ExpectedExitCode: 1,
		},
		{
			Pattern:          "ca?t",
			Input:            "cag",
			ExpectedExitCode: 1,
		},

Closing this thread due to inactivity. If you still need assistance, feel free to reopen or start a new discussion!

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.