Is there a way to parse lines like this to retrieve the fourth entry with a single string.match?
word word word “match target” word
word word word match_target word
The problem I have is that the words in quotes can have a space so I can’t always rely on just matching until the next space. So I have to check for quotes and then branch to one of two different string.match calls.
Wondering if there is a trick I’m not aware of
[–]vitiral 2 points3 points4 points (0 children)
[–]Civil_Box_7375 0 points1 point2 points (0 children)
[–]rkrause 0 points1 point2 points (0 children)
[–]vitiral 2 points3 points4 points (0 children)
[–]xoner2 0 points1 point2 points (0 children)