Julia Programming Language
Regex w/ String Interpolation
General Usage
question
,
regex
,
string-interpolation
pfitzseb
May 5, 2017, 9:13pm
2
a = "focus" r = Regex("$(a)\\s*:\\s*true") ismatch(r, "# focus: true")
14 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Can I interpolate a string in a regular expression?
New to Julia
regex
,
string-interpolation
3
2247
May 7, 2018
Match a string literal via regex
General Usage
question
,
strings
,
regex
12
3571
May 10, 2019
Using Regex() function, how do I match the end of the string?
General Usage
question
,
regex
4
67
December 10, 2024
String substitution with interpolation
General Usage
strings
1
705
June 5, 2019
String matching with variable interpolation
New to Julia
2
300
June 2, 2021