test_julia_scripts/regex.jl

8 lines
99 B
Julia

numchar = "0W"
renumchar = r"(\d+)"
num = match(renumchar,numchar)
num = parse(Int16,num.match)