Skip to content
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(mixdrop): positive look-behind issue [iOS/Expo] #144

Merged
merged 1 commit into from
Dec 17, 2022
Merged

fix(mixdrop): positive look-behind issue [iOS/Expo] #144

merged 1 commit into from
Dec 17, 2022

Conversation

aidanjuma
Copy link
Contributor

@aidanjuma aidanjuma commented Dec 17, 2022

What kind of change does this PR introduce?
Fix for iOS/Expo when using consumet.ts library on the client side.

Did you add tests for your changes?
No; tested on https://regexr.com/ with multiple cases.

If relevant, did you update the documentation?
No need.

Summary
Positive look-behind regex breaks on iOS/Safari and Expo due to lack of support; @TDanks2000 and I worked out some fixes using other regular expressions to achieve the same result, so a big thanks to him!

@aidanjuma aidanjuma marked this pull request as draft December 17, 2022 22:48
iOS client-side bug on the web and/or Expo: causes issues with this extractor in the use cases described. This is due to an old spec. being supported in the case of iOS, and I am unsure in the case of Expo.
@aidanjuma
Copy link
Contributor Author

Note: Previous commit was labelled wrong and contained an incorrect fix (ebf7df9), so I have now force-pushed the correct fix ( 4c164ee). Thanks!

@aidanjuma aidanjuma marked this pull request as ready for review December 17, 2022 23:05
@aidanjuma aidanjuma changed the title fix(mixdrop): non-capturing group regex (see desc) fix(mixdrop): positive look-behind issue [iOS/Expo] Dec 17, 2022
@riimuru
Copy link
Contributor

riimuru commented Dec 17, 2022

LGTM 👍

@riimuru riimuru merged commit 864f1e0 into consumet:master Dec 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants