starlib
starlib copied to clipboard
`re.split` always returns an empty tuple
Confirmed by Chris. Not sure what os and qri version
he is running.
mac 10.14.6
❯ qri version
0.9.6
❯ cat> transformx.star
load("re.star", "re")
def transform(ds, ctx):
parkindex = "a-b-c"
x1 = re.split("-", parkindex)
error(x1)
❯ qri save --dry-run -f ./transformx.star me/humba
🏃🏽♀️ dry run
Traceback (most recent call last):
transform.star:8:10: in transform
<builtin>: in error
Error: transform error: ()