How to use a julia variable in a regex string (interpolate).

var = " "
reg =  r"^$(var)+"   # Something like this
result = matchall(reg, mystring)


Is there a way to make this work?

Thanks



Reply via email to