Julia Programming Language
Regex on an Expr
General Usage
metaprogramming
JeffreySarnoff
October 11, 2022, 8:17am
2
julia> ex = :(Float64[32]) :(Float64[32]) julia> number = ex.args[2] 32
show post in topic
Related topics
Topic
Replies
Views
Activity
Construct an Expr(:tuple, ...) without Expr
General Usage
question
2
549
October 7, 2017
How to construct `Expr(:tuple, ...)` using templates
General Usage
question
3
1185
January 5, 2017
How to convert a string into an expression?
General Usage
metaprogramming
11
7037
May 26, 2018
Extracting a float from a string
New to Julia
strings
,
regex
31
4101
October 24, 2022
Opening up an Expr for easier manipulation
General Usage
metaprogramming
3
720
July 9, 2017