test_julia_scripts/regex.jl

8 lines
99 B
Julia
Raw Permalink Normal View History

2020-07-28 17:56:44 +00:00
numchar = "0W"
2020-07-17 04:22:43 +00:00
2020-07-28 17:56:44 +00:00
renumchar = r"(\d+)"
2020-07-17 04:22:43 +00:00
num = match(renumchar,numchar)
num = parse(Int16,num.match)