You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I refer to the findLastWord() and findFirstWord() methods.
If you add the string " ........." to the end of the note.txt file like this, the regex from the branch "completed" won't pass the tests, which is "\w+$".
As far as I am concerned, we should use something like "\w+(?=\W*$)" instead.
Please, let me know If I am mistaken here.
The text was updated successfully, but these errors were encountered:
I refer to the findLastWord() and findFirstWord() methods.
If you add the string " ........." to the end of the note.txt file like this, the regex from the branch "completed" won't pass the tests, which is "\w+$".
As far as I am concerned, we should use something like "\w+(?=\W*$)" instead.
Please, let me know If I am mistaken here.
The text was updated successfully, but these errors were encountered: