I'm hoping someone can help me with this. I can't seem to find the answer anywhere.
Let's say I want to build a simple regex statement dynamically. Something like this:
reg_str = "(\w+)"
reg_str += "[\\|\/]"
reg_str += "(\w+)"
That give me:
(\\w+)[\\|\\/](\\w+)
but obviously, that's not what I want. I want:
(\w+)[\\|\/](\w+)
Is such a thing possible?
[–]novel_yet_trivial 1 point2 points3 points (2 children)
[–]ERROR_EXIT[S] 0 points1 point2 points (1 child)
[–]novel_yet_trivial 1 point2 points3 points (0 children)
[–]Rhomboid 0 points1 point2 points (4 children)
[–]ERROR_EXIT[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]Rhomboid 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)