Closed PeronGH closed 6 months ago
Hi @PeronGH , thanks for your pull request
removing \t
directly indeed solves this problem. However, this RegExp
is always hard-coded. I believe a better approach would be to pass this RegExp
externally, while providing a default RegExp
internally. If it's convenient for you, you can make these changes in this pull request, or I can merge it first and handle it later when I have time.
removing
\t
directly indeed solves this problem. However, thisRegExp
is always hard-coded. I believe a better approach would be to pass thisRegExp
externally, while providing a defaultRegExp
internally. If it's convenient for you, you can make these changes in this pull request, or I can merge it first and handle it later when I have time.
I agree that a more flexible approach would be better. Unfortunately, I'm not familiar enough with the project's structure and API design to make those changes confidently. Would you be willing to provide guidance, or merge the pull request as-is and you can address the changes later?
As mentioned in #159, there is a bug causing
\t
being removed. This PR fixed it. If there is any problem with this PR, please let me know.