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

Support error references in cell ranges #294

Merged
merged 2 commits into from
Apr 5, 2017

Conversation

holm
Copy link
Contributor

@holm holm commented Mar 27, 2017

This PR adds support for decoding references with an error. It does this by using a regex to find the sheetname, if any, and handle the optional quotes. I wish JS regex had named groups, in which case this would be a bit nicer.

@Rycochet
Copy link
Contributor

Might be worth using non-capturing groups to clean up the regex a little and make it obvious which parts are important - /(?:...)/

@holm
Copy link
Contributor Author

holm commented Mar 28, 2017

I added the non-capturing groups, and added a little bit of comments.

@holm
Copy link
Contributor Author

holm commented Apr 3, 2017

Anything I can do to improve this PR to get it merged?

@guyonroche guyonroche merged commit c6ea4e9 into exceljs:master Apr 5, 2017
@guyonroche
Copy link
Collaborator

@holm - sorry to take so long - my head was buried in the image branch. Just published this today

@holm
Copy link
Contributor Author

holm commented Apr 7, 2017

Thanks a lot!

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.

3 participants