Skip to content

Feature Request: matching method from nette/tester #245

@f3l1x

Description

@f3l1x

I find my self very useful nette/tester (Assert::matching and Assert::isMatching).

https://github.com/nette/tester/blob/55057023d08aa2e3018c21a8c40ea2b60c5ae80f/src/Framework/Assert.php#L525

Would you consider to add this kind of method to nette/utils? I can handle PR.

I know there is already Strings::match method, but I like predefined patterns.

https://github.com/nette/tester/blob/55057023d08aa2e3018c21a8c40ea2b60c5ae80f/src/Framework/Assert.php#L437-L454

WDYT?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions