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

Issue 05-02: Check if user entered regEx really matches the whole example #122

Closed
@moormaster

Description

Website-link: https://coderdojopotsdam.github.io/regex-tutorial/en/05-02.html

Expected Behavior

Only regular expressions matching the whole numbers should be considered valid.

Actual Behavior

"[048]" is considered a valid answer to the challenge though it only matches the last digits of 20, 24, 28.

Actions to Reproduce

Enter "[048]" as user input into the challenge

Solution Description

If the reference regex starts with ^ and ends with $ the user input should also be checked against each whole example line.
See PR #121.

Languages

  • English (en)
  • German (de)

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 によって変換されたページ (->オリジナル) /