Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Hello, can I please ask for advice here - when I write my return string to the buffer 'result' like you said it just seems to contain the previous return string from the tests that were run before, so it basically fails right at the second test string.
This is not how
re.match()
function works. See official docs.Python test case is broken,
bool(re.Match)
is alwaysTrue
(Python) I've written a regex that returns a
match
object with length 0, butbool(match)
is stillTrue
. What now?you deleted the
const
qualifier of the first string parameter... do not do that. thestrtok()
function modifies its input, you need to make a copy of the string before callingstrtok()
on itYou need to write your answer to the buffer pointed by
result
.Hi! How should I return the value in C?