Skip to content
This repository was archived by the owner on Jul 17, 2019. It is now read-only.
This repository was archived by the owner on Jul 17, 2019. It is now read-only.

Misleading documentation about regular expression matcher #221

@radekg1000

Description

@radekg1000

The documentation for CookBook.md contains the following phrase:

EXPECT_THAT(Bar(), MatchesRegex("Line \\d+"));

This phrase is misleading on linux because \d metacharacter (for digit) is not supported on linux (just tested on my latest Mint linux). The same applies to advanced.md file which also mentions \d+ a few times.

Consider adding a unit test that would verify if they are really supported or change the documentation to match reality.

Additional comment: I lost a few hours today chasing up why the matcher does not work. Even if it does not work when using the correct syntax I find this library very, very use full. Thank you for any ones effort in its creation.

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