-
Notifications
You must be signed in to change notification settings - Fork 469
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
Flatten fixes #368
Flatten fixes #368
Conversation
spreadsheet/context.go
Outdated
@@ -233,6 +233,7 @@ func (e *evalContext) LastRow(col string) int { | |||
var refRegexp *regexp.Regexp = regexp.MustCompile(`^([a-z]+)([0-9]+)$`) | |||
|
|||
func validateRef(cr string) bool { | |||
cr = strings.ReplaceAll(cr, "$", "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check build errors:
github.com/unidoc/unioffice/spreadsheet
../../../spreadsheet/context.go:236:7: undefined: strings.ReplaceAll
I think ReplaceAll is new, better use Replace with -1.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Codecov Report
@@ Coverage Diff @@
## master #368 +/- ##
==========================================
- Coverage 55.2% 54.68% -0.53%
==========================================
Files 207 207
Lines 18083 18094 +11
==========================================
- Hits 9983 9894 -89
- Misses 7123 7223 +100
Partials 977 977
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This change is