test_julia_scripts/regex.jl

8 lines
104 B
Julia
Raw Normal View History

2020-07-17 04:22:43 +00:00
numchar = "500W"
renumchar = r"\d[0-9]."
num = match(renumchar,numchar)
num = parse(Int16,num.match)