Skip to content

String pattern value matcher? #9

@hughesadam87

Description

@hughesadam87

Have been using this library in earnest recently and really like it, so thanks.

Recently was trying to match a tuple string field to a pattern and was unable. For example, the output tuple had a field of form ccy = 'EURUSD-<timestamp>', where the timestamp is now() so changes in each test. I thought a StringPatternValueMatcher might be a nice addition. Studied the code for a bit and think I could submit a PR to add this in without too much trouble if you're interested. Is this generally useful enough to be added to the library proper?

Thanks

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