+ 1
[SOLVED] Problem with Javascript regex match
In my code, I need to check whether the given text matches any one of the given pattern, but it is not working properly. In my code's case, the text given will be a C program and for that, I need to check whether the given needs the user input or not by checking for the functions scanf(""), gets() or getchar() exists in the code. So, the code should check it and return a Boolean value i.e true or false by checking whether the functions to take input like scanf(""), gets() or getchar() exists in the code. So, help me to check it. My code link: https://code.sololearn.com/Wrh8J71WI5aA/?ref=app
3 Antworten
+ 2
Coder Kitten OMG😱😱
It's working after removing spaces😂
I didn't know spaces also affect that much, and I was debugging since a hour.😉