Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

3-6-3-crazy-regex. There is a mistake in the branch 'completed'. #163

Open
@obaibula

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /