New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #2539: Super Referrer Improvements (Clipboard) #2535
Changes from 1 commit
7101d33
646e5bd
2359577
624dabc
15bfead
6fdb085
8214d99
285fe1e
aaa762e
3ce30ea
16d5037
576ae4a
834a1fc
98253b6
ade056f
17f0717
File filter...
Jump to…
Removed unnecessary comment.
- Loading branch information
| @@ -198,8 +198,6 @@ public class UserReferralProgram { | ||
|
|
||
| // +1 to strip off `:` that proceeds the defined prefix | ||
| input.removeFirst(self.clipboardPrefix.count + 1) | ||
|
This conversation was marked as resolved
by jhreis
This conversation was marked as resolved
by Brandon-T
Brandon-T
Collaborator
|
||
| // Add any other potential validation here, e.g. validating the actual ref code string | ||
| let valid = input.range(of: #"\b[A-Z]{3}[0-9]{3}\b"#, options: .regularExpression) != nil // true | ||
jhreis
Author
Contributor
|
||
| // Both conditions must be met | ||
Understand this probably set in a spec somewhere, but maybe a comment about why
+ 1?