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

Negative look behind Regexp removal. #23

Merged
merged 2 commits into from
Jun 13, 2021
Merged

Conversation

mrodrig
Copy link
Owner

@mrodrig mrodrig commented Jun 13, 2021

As reported in mrodrig/json-2-csv#197, many
browsers don't support negative look behind RegExps, which causes both
calls to this module and dependency modules to fail when that logic was
invoked. In order to fix that, this commit reworks the RegExp to be use
a string character parser to find first index where a non-escaped '.'
character is found.
@mrodrig mrodrig force-pushed the fix/negative-lookbehind-compat branch from 891cd1a to 0068ad3 Compare June 13, 2021 17:13
@mrodrig mrodrig merged commit 0507723 into stable Jun 13, 2021
@mrodrig mrodrig deleted the fix/negative-lookbehind-compat branch June 13, 2021 17:16
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.

None yet

1 participant