Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

'matches' operator only matches on the full string of a user value #92

Closed
pkaeding opened this issue Apr 25, 2017 · 1 comment
Closed

Comments

@pkaeding
Copy link
Contributor

Given a user like this:

new LDUser.Builder("key").custom("greeting", "hello world")

And a flag target using the 'matches' operator with a regex that should match a part of the value: hello.*orl

The user should match the targeting rule, but does not. In other LaunchDarkly SDKs, the user does match this rule.

@pkaeding
Copy link
Contributor Author

Fixed in version 2.2.1

eli-darkly added a commit that referenced this issue Aug 25, 2018
don't keep evaluating prerequisites if one fails
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant