Closed smartycope closed 2 months ago
Could you clarify what the purpose is of the changes to the split regex?
It does a few things:
@smartycope Thanks! I think it would help to have pieces of the regex documented in the code since it's non-trivial to understand.
I'm also curious why you used (?:\s+)?
instead of (?:\s*)
. Is there some subtle difference I'm missing?
@michaelmior I added the documentation you asked for, good thinking.
As for (?:\s+)?
vs (?:\s*)
, I don't know of a difference, that's simply how it was generated.
LGTM, thanks!
Added negative and * indecies and quotes to Split parameters